Fix bug
This commit is contained in:
parent
d532ca3c1b
commit
9356d38eac
1 changed files with 1 additions and 1 deletions
|
|
@ -49,7 +49,7 @@ const router = new Router();
|
||||||
//#region static assets
|
//#region static assets
|
||||||
|
|
||||||
router.get('/assets/*', async ctx => {
|
router.get('/assets/*', async ctx => {
|
||||||
await send(ctx, path, {
|
await send(ctx, ctx.path, {
|
||||||
root: client,
|
root: client,
|
||||||
maxage: ms('7 days'),
|
maxage: ms('7 days'),
|
||||||
immutable: true
|
immutable: true
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue