mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-03-04 07:18:50 -07:00
Fix
This commit is contained in:
parent
c4dd9f170f
commit
a1d53010ab
1 changed files with 2 additions and 2 deletions
|
@ -11,8 +11,8 @@ const docs = `${__dirname}/../../client/docs/`;
|
|||
const router = new Router();
|
||||
|
||||
router.get('/assets/*', async ctx => {
|
||||
await send(ctx, ctx.path, {
|
||||
root: docs,
|
||||
await send(ctx, ctx.params[0], {
|
||||
root: docs + '/assets/',
|
||||
maxage: ms('7 days'),
|
||||
immutable: true
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue