mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-22 20:23:49 +01:00
Clean up
This commit is contained in:
parent
6eb67d85db
commit
e9484c67c2
@ -49,8 +49,6 @@ const router = new Router();
|
||||
//#region static assets
|
||||
|
||||
router.get('/assets/*', async ctx => {
|
||||
// 互換性のため
|
||||
const path = ctx.path.replace('.raw.js', '.js').replace('.min.js', '.js');
|
||||
await send(ctx, path, {
|
||||
root: client,
|
||||
maxage: ms('7 days'),
|
||||
|
Loading…
Reference in New Issue
Block a user