05-17-2018, 10:56 PM
I can't seem to get the UI opened on my headless server, was wondering if anyone has had success. Below is my code.
const CONFIG = {
headless: true,
api: {
host: '0.0.0.0',
port: 3000,
timeout: 120000 // 2 minutes
},
ui: {
ssl: false,
host: '192.168.1.xx', //Home IP
port: 3000,
path: '/'
},
adapter: 'sqlite'
}
if(typeof window === 'undefined')
module.exports = CONFIG;
else
window.CONFIG = CONFIG;
Thanks chris
const CONFIG = {
headless: true,
api: {
host: '0.0.0.0',
port: 3000,
timeout: 120000 // 2 minutes
},
ui: {
ssl: false,
host: '192.168.1.xx', //Home IP
port: 3000,
path: '/'
},
adapter: 'sqlite'
}
if(typeof window === 'undefined')
module.exports = CONFIG;
else
window.CONFIG = CONFIG;
Thanks chris