Merge pull request #2368 from omnivore-app/fix/api-robots-txt

Add robots.txt to the list of reserved names
This commit is contained in:
Hongbo Wu 2023-06-16 16:38:06 +08:00 committed by GitHub
commit c8e3f79655
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -116,12 +116,14 @@ const RESERVED_NAMES = new Set([
'register',
'remove',
'replies',
'robots.txt',
'root',
'rss',
'sales',
'save',
'search',
'security',
'security.txt',
'sessions',
'settings',
'shop',