mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-24 02:23:08 +02:00
Fix bug
This commit is contained in:
parent
fe07b1cb7f
commit
5a13964ced
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue