mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-01-10 07:30:59 -07:00
✌️
This commit is contained in:
parent
77c9073f1a
commit
d373428232
1 changed files with 3 additions and 0 deletions
|
@ -42,6 +42,9 @@ app.use('/assets', express.static(`${__dirname}/assets`, {
|
||||||
maxAge: ms('7 days')
|
maxAge: ms('7 days')
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ServiceWroker
|
||||||
|
*/
|
||||||
app.get(/^\/sw\.(.+?)\.js$/, (req, res) => res.sendFile(`${__dirname}/assets/sw.${req.params[0]}.js`));
|
app.get(/^\/sw\.(.+?)\.js$/, (req, res) => res.sendFile(`${__dirname}/assets/sw.${req.params[0]}.js`));
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue