2
0
Fork 0
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:
Arpit Jalan 2020-06-15 11:58:05 +05:30
parent d8cd912769
commit 6780d4d70c

View file

@ -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) {