add public_url option

This commit is contained in:
Alban Mouton
2017-10-18 13:51:37 +02:00
parent 82f179b07c
commit 875521c5a8
10 changed files with 92 additions and 38 deletions

View File

@@ -8,7 +8,8 @@ before(function() {
process.chdir('test_data');
var running = require('../src/server')({
configPath: 'config.json',
port: 8888
port: 8888,
publicUrl: '/test/'
});
global.app = running.app;
global.server = running.server;