2
1
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2023-12-13 21:00:40 +01:00

💡 Removed list of reserved slugs (#11301)

no issue

- reserved slugs get in the way of creating pages such as `/signin/` which do not currently exist and are useful for members
- the reserved slugs concept is a little meaningless because if there are any route clashes then our own routes should always win out over a post slug
This commit is contained in:
Kevin Ansfield 2019-10-29 09:49:47 +00:00 committed by GitHub
parent d370a4e840
commit c2cdfef9e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,10 +20,7 @@
]
},
"slugs": {
"reserved": ["admin", "app", "apps", "categories",
"category", "dashboard", "feed", "ghost-admin", "login", "logout",
"page", "pages", "post", "posts", "public", "register", "setup",
"signin", "signout", "signup", "user", "users", "wp-admin", "wp-login"],
"reserved": [],
"protected": ["ghost", "rss", "amp"]
},
"uploads": {