mirror of
https://github.com/discourse/discourse.git
synced 2025-03-21 20:15:43 +08:00
FEATURE: Treat /go/ as a server-side route
Ninja superuser implementation of routable permalinks with no UI or permission changes yet.
This commit is contained in:
parent
10ddb8a9c4
commit
670b855f94
@ -25,6 +25,7 @@ const SERVER_SIDE_ONLY = [
|
||||
/^\/posts\/\d+\/raw/,
|
||||
/^\/raw\/\d+/,
|
||||
/^\/wizard/,
|
||||
/^\/go\//, // EXPERIMENTAL: https://meta.discourse.org/t/-/142605
|
||||
/\.rss$/,
|
||||
/\.json$/,
|
||||
/^\/admin\/upgrade$/,
|
||||
|
Loading…
x
Reference in New Issue
Block a user