Commit 846dd5f9 authored by Sam Saccone's avatar Sam Saccone

webrx: Update routing to respect base url

Fixes #1293

Fixed in:
https://github.com/WebRxJS/WebRx/commit/712c8e820da2660ea816714901c20bd97a4284f4
parent fd4d3b68
...@@ -123,12 +123,9 @@ ...@@ -123,12 +123,9 @@
// setup routing // setup routing
var self = this; var self = this;
// Configure the Base-Url for all states (in a production-setup you would probably
// pass this from server to client via a custom query-parameter or something similar)
wx.router.baseUrl = '/examples/webrx/';
wx.router.state({ wx.router.state({
name: '$', name: '$',
url: '/examples/webrx/',
onEnter: function () { onEnter: function () {
self.showMode(displayModeAll); self.showMode(displayModeAll);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment