This commit is contained in:
syuilo
2018-04-03 13:08:21 +09:00
parent c38de48fa6
commit 648cfa8b8a
2 changed files with 0 additions and 38 deletions

View File

@ -42,8 +42,6 @@ app.use('/assets', (req, res) => {
res.sendStatus(404);
});
app.use('/recover', (req, res) => res.sendFile(`${client}/assets/recover.html`));
// ServiceWroker
app.get(/^\/sw\.(.+?)\.js$/, (req, res) =>
res.sendFile(`${client}/assets/sw.${req.params[0]}.js`));