From 5b1ee3fedf4f91bae600cf96ab88e79f2c6dd599 Mon Sep 17 00:00:00 2001 From: Sam Date: Mon, 9 Mar 2015 13:42:37 +1100 Subject: [PATCH] oops --- app/assets/javascripts/discourse/routes/discourse_route.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/routes/discourse_route.js b/app/assets/javascripts/discourse/routes/discourse_route.js index 17c357943..8694eacc8 100644 --- a/app/assets/javascripts/discourse/routes/discourse_route.js +++ b/app/assets/javascripts/discourse/routes/discourse_route.js @@ -113,7 +113,7 @@ Discourse.Route.reopenClass({ } }); - if (Discourse.BaseUri) { + if (Discourse.BaseUri && Discourse.BaseUri !== "/") { Discourse.Router.reopen({ rootURL: Discourse.BaseUri + "/" });