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

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',