Update index.ts (#7463)
This commit is contained in:
parent
53d257ef0f
commit
135ff280b9
|
@ -99,7 +99,7 @@ router.get('/manifest.json', require('./manifest'));
|
||||||
|
|
||||||
router.get('/robots.txt', async ctx => {
|
router.get('/robots.txt', async ctx => {
|
||||||
await send(ctx as any, '/robots.txt', {
|
await send(ctx as any, '/robots.txt', {
|
||||||
root: assets
|
root: staticAssets
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue