mirror of
https://github.com/MrSedan/neuro-reply-website.git
synced 2026-01-15 04:59:42 +03:00
create admins endpoint
This commit is contained in:
22
backend/dist/config/index.js
vendored
Normal file
22
backend/dist/config/index.js
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.config = void 0;
|
||||
const dotenv_1 = require("dotenv");
|
||||
(0, dotenv_1.config)();
|
||||
exports.config = {
|
||||
database: {
|
||||
type: 'postgres',
|
||||
host: process.env.DATABASE_HOST || 'localhost',
|
||||
port: +process.env.DATABASE_PORT || 5432,
|
||||
username: process.env.DATABASE_USERNAME || 'postgres',
|
||||
password: process.env.DATABASE_PASSWORD || '',
|
||||
database: process.env.DATABASE_DB || 'bot_db',
|
||||
synchronize: true,
|
||||
logging: false,
|
||||
autoLoadEntities: true,
|
||||
},
|
||||
server: {
|
||||
port: +process.env.SERVER_PORT || 8080,
|
||||
},
|
||||
};
|
||||
//# sourceMappingURL=index.js.map
|
||||
Reference in New Issue
Block a user