diff --git a/settings.js b/settings.js index 1a459f6..b6003a9 100644 --- a/settings.js +++ b/settings.js @@ -1,4 +1,5 @@ // Make sure that polyfilled links are redirected to correct links in // supporting browsers. Enables sharing links between IE and non-IE // e.g. http://example.com/#/some-path -> http://example.com/some-path -history.redirect(); \ No newline at end of file +var basePath = __meteor_runtime_config__.ROOT_URL_PATH_PREFIX || ''; +history.redirect('/', basePath + '/'); \ No newline at end of file