mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-21 19:53:50 +01:00
parent
c7456c1c52
commit
ed532b51a6
4
assets/robots.txt
Normal file
4
assets/robots.txt
Normal file
@ -0,0 +1,4 @@
|
||||
user-agent: *
|
||||
allow: /
|
||||
|
||||
# todo: sitemap
|
@ -79,6 +79,12 @@ router.get('/manifest.json', async ctx => {
|
||||
});
|
||||
});
|
||||
|
||||
router.get('/robots.txt', async ctx => {
|
||||
await send(ctx as any, '/assets/robots.txt', {
|
||||
root: client
|
||||
});
|
||||
});
|
||||
|
||||
//#endregion
|
||||
|
||||
// Docs
|
||||
|
Loading…
Reference in New Issue
Block a user