Merge pull request #1 from rozbehk/development

Development
This commit is contained in:
rozbehk 2025-10-04 12:36:30 -04:00 committed by GitHub
commit 77714c101b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View File

@ -33,7 +33,7 @@ const allowedOrigins = ["https://aeroecho.onrender.com"];
if (NODE_ENV === "development" || NODE_ENV === "staging") { if (NODE_ENV === "development" || NODE_ENV === "staging") {
allowedOrigins.push("http://localhost:3000"); allowedOrigins.push("http://localhost:3000");
} }
//test
const corsOptions = { const corsOptions = {
origin: function (origin, callback) { origin: function (origin, callback) {
if (!origin || allowedOrigins.indexOf(origin) !== -1) { if (!origin || allowedOrigins.indexOf(origin) !== -1) {

View File

@ -1,5 +1,6 @@
{ {
"name": "aeroecho-fullstack", "name": "aeroecho-fullstack",
"version": "1.0.0",
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "concurrently \"npm run backend:dev\" \"npm run frontend:dev\"", "dev": "concurrently \"npm run backend:dev\" \"npm run frontend:dev\"",