@@ -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
|
||||
});
|
||||
});
|
||||
|
||||
|
@@ -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) => {
|
||||
|
Reference in New Issue
Block a user