Files
pixel-streaming-coordinator/config.js
T
EgorSuv 622556911c config tests added,
.env file support added with dotenv,
README.md file updated for .evn file support,
database lost connection bug crash fixed,
session server run_session long timeout bug fixed
2023-01-30 17:49:19 +05:00

19 lines
509 B
JavaScript

require('dotenv').config()
module.exports = {
port: parseInt(process.env.PORT),
database_url: process.env.DATABASE_URL,
database_name: process.env.DATABASE_NAME,
log_path: "./logs/runtime.log",
allowed_cors: [
"http://192.168.1.171:3000",
"http://localhost:3000",
"https://stream.graff.tech/",
"http://212.220.216.185:3005",
"https://stream.graff.tech"
],
limiter: {
window_minutes: 10,
max_requests_per_window: 1000
}
}