🚧 Switch to monorepo with Turbo

This commit is contained in:
2023-01-10 12:53:42 +01:00
parent dd8715bb34
commit 25bb949a13
205 changed files with 14975 additions and 347 deletions

View File

@@ -0,0 +1,17 @@
const customRobotsTxt = `
User-agent: Twitterbot
Allow: /
User-agent: *
Disallow: /
`.trim()
export default ({ init }) => {
init('app.before', ({ app }) => {
app.get('/robots.txt', (_, res) => {
res.set('Content-Type', 'text/plain')
res.status(200)
res.send(customRobotsTxt)
})
})
}