mirror of
https://framagit.org/les/gancio.git
synced 2025-02-01 00:52:01 +01:00
24 lines
526 B
JavaScript
24 lines
526 B
JavaScript
// const argv = require('yargs').argv
|
|
// const path = require('path')
|
|
// const fs = require('fs')
|
|
|
|
// const config_path = path.resolve(argv.config || './config.js')
|
|
|
|
// let user_config
|
|
// if (fs.existsSync(config_path)) {
|
|
// user_config = require(config_path)
|
|
// }
|
|
|
|
// const config = {
|
|
// baseurl: 'PLEASE CONFIGURE YOUR BASEURL!',
|
|
// server: {
|
|
// host: 'localhost',
|
|
// port: 3000
|
|
// },
|
|
// secret: '',
|
|
// db: {
|
|
// dialect: 'sqlite'
|
|
// }
|
|
// }
|
|
|
|
// module.exports = Object.assign( config, user_config )
|