mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 17:03:49 +01:00
Improve readability
This commit is contained in:
parent
a1b3064d8c
commit
6b2b805c8a
@ -43,12 +43,14 @@ app.use('/assets', express.static(`${__dirname}/assets`, {
|
||||
/**
|
||||
* 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`));
|
||||
|
||||
/**
|
||||
* Manifest
|
||||
*/
|
||||
app.get('/manifest.json', (req, res) => res.sendFile(`${__dirname}/assets/manifest.json`));
|
||||
app.get('/manifest.json', (req, res) =>
|
||||
res.sendFile(`${__dirname}/assets/manifest.json`));
|
||||
|
||||
/**
|
||||
* Common API
|
||||
|
Loading…
Reference in New Issue
Block a user