bluebot
Version:
A bitcoin trading bot for auto trading at various exchanges
26 lines (21 loc) • 396 B
JavaScript
// This config is used in both the
// frontend as well as the web server.
const CONFIG = {
headless: false,
api: {
host: '127.0.0.1',
port: 3000,
timeout: 120000 // 2 minutes
},
ui: {
ssl: false,
host: 'localhost',
port: 3000,
path: '/'
},
adapter: 'sqlite'
}
if(typeof window === 'undefined')
module.exports = CONFIG;
else
window.CONFIG = CONFIG;