- creato editor di Pagine (iniziato)
- fix: mancano i "t," su alcuni componenti...
This commit is contained in:
@@ -791,7 +791,10 @@ connectToDatabase(connectionUrl, options)
|
||||
return [
|
||||
'https://localhost:3000',
|
||||
'https://localhost:8089',
|
||||
'https://localhost:8082',
|
||||
'https://localhost:8083',
|
||||
'https://localhost:8084',
|
||||
'https://localhost:8085',
|
||||
'https://localhost:8088',
|
||||
'https://localhost:8099',
|
||||
];
|
||||
@@ -864,6 +867,7 @@ connectToDatabase(connectionUrl, options)
|
||||
|
||||
function setupMiddleware(app, corsOptions, isDebug = false) {
|
||||
app.use(cors(corsOptions));
|
||||
app.set('trust proxy', true);
|
||||
app.use(express.json());
|
||||
app.options('*', cors(corsOptions));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user