Files
liberama/server/config/base.js
2019-01-03 17:33:13 +07:00

21 lines
442 B
JavaScript

const path = require('path');
const pckg = require('../../package.json');
const execPath = path.resolve(__dirname, '..');
module.exports = {
branch: 'base',
tempDir: execPath + '/tmp',
logDir: execPath + '/log',
dataDir: execPath + '/data',
publicDir: execPath + '/public',
dbFileName: 'db.sqlite',
loggingEnabled: true,
port: '33080',
ip: '0.0.0.0',
version: pckg.version,
name: pckg.name,
};