Skip to content

Add dynamic robots.txt generation#95

Open
Bentroen wants to merge 1 commit into
developfrom
chore/robots-txt
Open

Add dynamic robots.txt generation#95
Bentroen wants to merge 1 commit into
developfrom
chore/robots-txt

Conversation

@Bentroen

Copy link
Copy Markdown
Member

Overview

Since up.railway.app has been added to the list of public suffixes, we are no longer able to set cookies in development/staging deployments using Railway-provided subdomains.

To improve the development experience, we're deploying staging environments into our own noteblock.world subdomains. To prevent web crawlers from indexing staging content, we're adding a dynamically generated robots.txt file based on the NODE_ENV variable, thereby preventing web crawling in non-production deployments.

Prevents web crawling on non-production deployments.
@railway-app

railway-app Bot commented Jun 16, 2026

Copy link
Copy Markdown

🚅 Deployed to the NoteBlockWorld-pr-95 environment in Note Block World

Service Status Web Updated (UTC)
Nest.js API Bun ✅ Success (View Logs) Web Jun 16, 2026 at 4:28 am
Next.js frontend Bun ✅ Success (View Logs) Web Jun 16, 2026 at 4:28 am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant