load the config
This commit is contained in:
parent
1f0fa452dc
commit
5d27a81bac
|
@ -55,7 +55,8 @@ module.exports.create = function (app, xconfx, apiFactories, apiDeps) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!setupApp) {
|
if (!setupApp) {
|
||||||
setupApp = express.static(path.join(xconfx.staticpath, 'com.daplie.walnut'));
|
//setupApp = express.static(path.join(xconfx.staticpath, 'com.daplie.walnut'));
|
||||||
|
setupApp = express.static(path.join('lib', 'com.daplie.walnut'));
|
||||||
}
|
}
|
||||||
setupApp(req, res, function () {
|
setupApp(req, res, function () {
|
||||||
if ('/' === req.url) {
|
if ('/' === req.url) {
|
||||||
|
|
Loading…
Reference in New Issue