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