mirror of
https://github.com/paricafe/misskey.git
synced 2024-12-01 05:16:44 -06:00
Clean up
This commit is contained in:
parent
4c4cb2bb17
commit
0f0009e0db
1 changed files with 0 additions and 2 deletions
|
@ -49,8 +49,6 @@ const router = new Router();
|
||||||
//#region static assets
|
//#region static assets
|
||||||
|
|
||||||
router.get('/assets/*', async ctx => {
|
router.get('/assets/*', async ctx => {
|
||||||
// 互換性のため
|
|
||||||
const path = ctx.path.replace('.raw.js', '.js').replace('.min.js', '.js');
|
|
||||||
await send(ctx, path, {
|
await send(ctx, path, {
|
||||||
root: client,
|
root: client,
|
||||||
maxage: ms('7 days'),
|
maxage: ms('7 days'),
|
||||||
|
|
Loading…
Reference in a new issue