mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
FIX: process /invites/ route from server side only
This commit is contained in:
parent
d8cd912769
commit
6780d4d70c
1 changed files with 2 additions and 1 deletions
|
@ -30,7 +30,8 @@ const SERVER_SIDE_ONLY = [
|
||||||
/^\/admin\/upgrade$/,
|
/^\/admin\/upgrade$/,
|
||||||
/^\/logs($|\/)/,
|
/^\/logs($|\/)/,
|
||||||
/^\/admin\/logs\/watched_words\/action\/[^\/]+\/download$/,
|
/^\/admin\/logs\/watched_words\/action\/[^\/]+\/download$/,
|
||||||
/^\/pub\//
|
/^\/pub\//,
|
||||||
|
/^\/invites\//
|
||||||
];
|
];
|
||||||
|
|
||||||
export function rewritePath(path) {
|
export function rewritePath(path) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue