fix assets

Fix #7314
Fix #7313
This commit is contained in:
syuilo 2021-03-07 14:40:57 +09:00
parent 17dc50c242
commit 5b965349a5
189 changed files with 15 additions and 15 deletions

View file

@ -100,7 +100,7 @@ router.get('/robots.txt', async ctx => {
// Docs
router.get('/api-doc', async ctx => {
await send(ctx as any, '/redoc.html', {
root: assets
root: staticAssets
});
});

View file

@ -1,5 +1,5 @@
import * as Koa from 'koa';
import * as manifest from '../../../src/client/assets/manifest.json';
import * as manifest from '../../../assets/client/manifest.json';
import { fetchMeta } from '../../misc/fetch-meta';
module.exports = async (ctx: Koa.Context) => {