actual-server/load-config.js
2022-04-28 22:09:40 -04:00

12 lines
177 B
JavaScript

let config;
try {
config = require('./config');
} catch (e) {
config = {
mode: 'development',
port: 5006,
files: './user-files'
};
}
module.exports = config;