FIX: process /invites/ route from server side only

FIX: process /invites/ route from server side only

diff --git a/app/assets/javascripts/discourse/app/lib/url.js b/app/assets/javascripts/discourse/app/lib/url.js
index 499b5d7..ae73638 100644
--- a/app/assets/javascripts/discourse/app/lib/url.js
+++ b/app/assets/javascripts/discourse/app/lib/url.js
@@ -30,7 +30,8 @@ const SERVER_SIDE_ONLY = [
   /^\/admin\/upgrade$/,
   /^\/logs($|\/)/,
   /^\/admin\/logs\/watched_words\/action\/[^\/]+\/download$/,
-  /^\/pub\//
+  /^\/pub\//,
+  /^\/invites\//
 ];
 
 export function rewritePath(path) {

GitHub sha: 6780d4d7

This commit has been mentioned on Discourse Meta. There might be relevant details there:

https://meta.discourse.org/t/new-multiple-invites-feature-a-problem-occurs/154561/4