Skip to content

Add robots.txt - #50

Merged
Musiker15 merged 1 commit into
mainfrom
fix/add-robots-txt
Nov 24, 2026
Merged

Musiker15 merged 1 commit into
mainfrom
fix/add-robots-txt

Conversation

@Musiker15

Copy link
Copy Markdown
Member

Found in a crawl of msk-scripts.de with OpenSpider: https://s.msk-scripts.de/robots.txt answered 404, because the path reached the [code] route.

app/robots.ts allows / and blocks /api/. Short links stay crawlable, so a crawler can follow them to their targets. robots.txt is already on the reserved list in src/lib/shortcode.ts, so no short code can take the path.

Typecheck and lint pass locally.

/robots.txt reached the [code] route and answered 404. robots.txt now
allows the short links and blocks /api/.
@github-actions

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@Musiker15
Musiker15 merged commit d57daa3 into main Nov 24, 2026
8 checks passed
@Musiker15
Musiker15 deleted the fix/add-robots-txt branch November 24, 2026 13:51
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