We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c53ad13 commit 74ae8a6Copy full SHA for 74ae8a6
backend/env.example
@@ -19,4 +19,4 @@ CORS_ORIGIN=http://localhost:3000
19
20
# On prod :
21
# NODE_ENV=production
22
-# CORS_ORIGIN=https://votre-domaine.com
+# CORS_ORIGIN=https://votre-domaine.com
backend/server.js
@@ -15,7 +15,7 @@ app.use(helmet());
15
// Configuration CORS
16
const allowedOrigins = [
17
'http://localhost:3000',
18
- process.env.CORS_ORIGIN || 'https://gainorloss.mybots.fun'
+ process.env.CORS_ORIGIN || 'https://analytics.rmm.realtoken.community/'
].filter(Boolean); // Supprime les valeurs undefined
console.log('�� CORS Origins autorisés:', allowedOrigins);
0 commit comments