*/
exports['defaults'] = {
config: '/etc/strapp.conf:~/.strapp/strapp.conf:./strapp.conf',
- 'client-js': './client.js',
- 'host-js': './host.js',
+ 'client-js': './client-test.js',
+ 'host-js': './host-test.js',
tls: true,
'ca-cert': '../certs/cert.pem',
'ca-key': '../certs/key.pem',
port: 2443,
- index: './www/index.html',
+ index: './index.html',
bind: 'www:./www',
electron: undefined,
dedicated: undefined,
kv[1] = path.resolve(kv[1])
if (fs.existsSync(kv[1])) {
if (kv.length == 2 && /^[-_.A-Za-z0-9]/g.test(kv[0]))
- exports['bindings'][kv[0]] = kv[1]
+ exports['bindings'][kv[0]] = path.normalize(kv[1])
else
console.log(`WARN: Invalid binding: ${kvp}`)
}