mirror of
https://github.com/lenaschimmel/queerallyear
synced 2024-11-10 05:54:13 +00:00
Fix for /index.php which might be in some clients' permanent redirects.
This commit is contained in:
parent
10eae611f2
commit
e3e1ffcb17
1 changed files with 4 additions and 0 deletions
|
@ -136,6 +136,10 @@ async function initSvg(svgId) {
|
|||
return new GradientSvg(dom.window.document.getElementById(svgId), dom.window.document, dom);
|
||||
}
|
||||
|
||||
app.get('/index.php', async function (req, res) {
|
||||
res.redirect("/");
|
||||
});
|
||||
|
||||
app.get('/img/shadow/:layout.svg', async function (req, res) {
|
||||
var gradients = await gradientsFuture[req.params.layout];
|
||||
gradients.setShadowMode("only");
|
||||
|
|
Loading…
Reference in a new issue