This commit is contained in:
syuilo 2018-06-18 16:34:26 +09:00
parent fe07b1cb7f
commit 5a13964ced

View File

@ -49,7 +49,7 @@ const router = new Router();
//#region static assets
router.get('/assets/*', async ctx => {
await send(ctx, path, {
await send(ctx, ctx.path, {
root: client,
maxage: ms('7 days'),
immutable: true