fix: add robots.txt to forbidden url schemas

This commit is contained in:
2026-01-27 12:51:49 +01:00
parent dfc3f4cd87
commit 5771a182fe

View File

@@ -29,4 +29,4 @@ export type ErrorDTO = {
// Used to check against reserved names.
export const disallowedUriSchema = z
.string()
.regex(/^(about|assets|healthcheck|kttydocs|panel)/);
.regex(/^(about|assets|healthcheck|kttydocs|panel|robots\.txt)/);