controltower
Advanced tools
Comparing version 0.6.17 to 0.6.18
{ | ||
"name": "controltower", | ||
"version": "0.6.17", | ||
"version": "0.6.18", | ||
"main": "./src/index.js", | ||
@@ -5,0 +5,0 @@ "license": "AGPL-3.0", |
@@ -90,3 +90,3 @@ 'use strict'; | ||
fetch: (data, state, send, done) => { | ||
send('location:set', { pathname: `/b/${ data.setupId }` }, done); | ||
send('location:set', { pathname: `${ rootPath }/b/${ data.setupId }` }, done); | ||
} | ||
@@ -102,3 +102,3 @@ } | ||
console.log('----', `${ rootPath }/`); | ||
app.router([['/', authWrapper(_dashboard2.default, _main2.default)], [`${ rootPath }/`, authWrapper(_dashboard2.default, _main2.default)], [`${ rootPath }/b/:botId`, authWrapper(_setup2.default, _main2.default)]]); | ||
app.router([['/', authWrapper(_dashboard2.default, _main2.default)], [`${ rootPath }`, authWrapper(_dashboard2.default, _main2.default)], [`${ rootPath }/b/:botId`, authWrapper(_setup2.default, _main2.default)]]); | ||
@@ -105,0 +105,0 @@ const tree = app.start({ hash: true }); |
50756