Repository navigation
Add robots.txt to the web app - #323
Merged
Merged
Conversation
/robots.txt reached the [handle] route and answered 404. robots.txt now allows public forms and guild hubs and blocks /api/, /dashboard, /s/ (the applicant's status page) and /offline.
There was a problem hiding this comment.
Graphify review 
3 possible issues to check · Low impact
3 possible issues we couldn't confirm
- Listing
/s/in robots.txt does not keep applicants' status pages private, and it advertises where those pages are. ·apps/web/src/app/robots.ts:11 /offlineis disallowed although the file comment does not mention it, so its purpose is undocumented. ·apps/web/src/app/robots.ts:11/dashboardwithout a trailing slash also blocks any public path that begins with/dashboard. ·apps/web/src/app/robots.ts:11
They don't change the score.
Code graph · 2 functions depend on this change
- 50 of 50 test files are affected by this change.
- Gate, test list and every flagged function: in the Graphify check.
Reviewed 810b9ae · Full report in the Graphify check
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Found in a crawl of msk-scripts.de with OpenSpider:
https://forms.msk-scripts.de/robots.txtanswered 404, because the path reached the[handle]route.apps/web/src/app/robots.tsallows/, so public forms (/f/) and guild hubs stay crawlable. It blocks/api/,/dashboard(behind the login),/s/(the applicant's status page with their own answers and data) and/offline.Typecheck, lint and prettier pass for
apps/web.