From 72b9bd0c3785da4338ea233aa3667f138a93d520 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Mon, 6 Jan 2020 10:32:27 -0800 Subject: drop sequelize-auto --- config/index.sample.js | 23 ++--------------------- 1 file changed, 2 insertions(+), 21 deletions(-) (limited to 'config/index.sample.js') diff --git a/config/index.sample.js b/config/index.sample.js index ddb1c347..f4b32453 100644 --- a/config/index.sample.js +++ b/config/index.sample.js @@ -1,4 +1,4 @@ -import db from './config.json' +const dbOptions = require("./config.json")[process.env.NODE_ENV || "development"]; module.exports = { jwt: '2ad260b2202ad557b205ba17c7d8d62c69ffc95021b6147597c32eb30e3cf899', @@ -12,7 +12,7 @@ module.exports = { sid: 'AC2836311228c04e499e4eeb3a139a352b', }, port: 3119, - db, + dbOptions, facebook: { appToken: '290368338052652|WorpE7Brn61TTKUOQUyy1T8cKvc', specialFriend: '10102176487832944', @@ -48,24 +48,5 @@ module.exports = { host: "localhost", dialect: "mysql", tables: ["users", "payments"], - logging: false, - directory: false, - operatorsAliases: false, - dialectOptions: { - timeout: 500000, - multipleStatements: true - }, - pool: { - min: 0, - max: 25 - }, - retry: { - max: 5 - } - }, - quad: { - "key": "", - "secret": "", - "client_id": "", }, } -- cgit v1.2.3