This commit is contained in:
syuilo 2018-06-18 15:12:29 +09:00
parent 4c4cb2bb17
commit 0f0009e0db
1 changed files with 0 additions and 2 deletions

View File

@ -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'),