cors moved from config.js to allowed_cors.js, allowed_cors.js added to gitignore, allowed_cors.js added to README.md
This commit is contained in:
@@ -5,15 +5,7 @@ module.exports = {
|
||||
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",
|
||||
"http://test.stream.graff.tech",
|
||||
"https://test.stream.graff.tech"
|
||||
],
|
||||
allowed_cors: require('./allowed_cors'),
|
||||
limiter: {
|
||||
window_minutes: 10,
|
||||
max_requests_per_window: 1000
|
||||
|
||||
Reference in New Issue
Block a user