mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 09:10:25 +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$/,
|
||||
/^\/logs($|\/)/,
|
||||
/^\/admin\/logs\/watched_words\/action\/[^\/]+\/download$/,
|
||||
/^\/pub\//
|
||||
/^\/pub\//,
|
||||
/^\/invites\//
|
||||
];
|
||||
|
||||
export function rewritePath(path) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue