From 0f0009e0dbad894f4586c79a938745284c1fb5d9 Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 18 Jun 2018 15:12:29 +0900 Subject: [PATCH] Clean up --- src/server/web/index.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/server/web/index.ts b/src/server/web/index.ts index d38d9165d4..050fc3c76c 100644 --- a/src/server/web/index.ts +++ b/src/server/web/index.ts @@ -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'),