mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-25 00:49:17 +09:00
Fix
This commit is contained in:
parent
b099ad2a30
commit
f618dedfbc
@ -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…
Reference in New Issue
Block a user