From 2609d6f39c8ff5468781588c1cfc670b8cbf9c99 Mon Sep 17 00:00:00 2001 From: les Date: Mon, 27 Sep 2021 10:44:17 +0200 Subject: [PATCH] remove old configuration --- config/default.json | 26 -------------------------- config/production.js | 10 ---------- 2 files changed, 36 deletions(-) delete mode 100644 config/default.json delete mode 100644 config/production.js diff --git a/config/default.json b/config/default.json deleted file mode 100644 index 669d07f9..00000000 --- a/config/default.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "title": "Gancio", - "description": "A shared agenda for local communities", - "baseurl": "http://localhost:13120", - "server": { - "host": "localhost", - "port": 13120 - }, - "log_level": "debug", - "log_path": "./logs", - "db": { - "dialect": "sqlite", - "storage": "./db.sqlite", - "logging": false - }, - "upload_path": "./", - "smtp": { - "auth": { - "user": "", - "pass": "" - }, - "secure": true, - "host": "" - }, - "admin_email": "admin" -} diff --git a/config/production.js b/config/production.js deleted file mode 100644 index 2e498350..00000000 --- a/config/production.js +++ /dev/null @@ -1,10 +0,0 @@ -// DO NOT TOUCH THIS FILE -const fs = require('fs') -const config_path = process.env.config_path - -let config = {} -if (fs.existsSync(config_path)) { - config = require(config_path) -} - -module.exports = config