Skip to content
Snippets Groups Projects
Commit 5a13964c authored by syuilo's avatar syuilo
Browse files

Fix bug

parent fe07b1cb
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment