fix: Removed redundant cors url

This commit is contained in:
2025-05-20 20:57:41 +02:00
parent b708fe8c18
commit 92aaee9bcc

View File

@@ -36,7 +36,7 @@ var app = express();
app.use(bodyParser.json())
app.use(bodyParser.urlencoded({extended: true}))
app.use(cors({
origin: ["http://localhost:4200", "http://localhost:3000", `https://${process.env.DOMAIN}`,],
origin: ["http://localhost:4200", `https://${process.env.DOMAIN}`,],
credentials: true
}))
app.use(session({