fix(config): keep localhost:3000 defaults; remove only local.4nkweb.com usage
All checks were successful
Build and Push to Registry / build-and-push (push) Successful in 57s

This commit is contained in:
NicolasCantu 2025-09-24 18:30:59 +02:00
parent f79b3f8f26
commit 61a6b166f7
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ dotenv.config();
export const config = {
port: process.env.PORT || 8080,
defaultStorage: process.env.DEFAULT_STORAGE || 'https://dev3.4nkweb.com/storage',
appHost: process.env.APP_HOST || 'https://localhost:3000',
appHost: process.env.APP_HOST || 'http://localhost:3000',
// Déterminer dynamiquement l'origine CORS à partir d'APP_HOST si possible
cors: (() => {

View File

@ -1,5 +1,5 @@
export const stripeConfig = {
STRIPE_SECRET_KEY: process.env.STRIPE_SECRET_KEY,
STRIPE_WEBHOOK_SECRET: process.env.STRIPE_WEBHOOK_SECRET,
APP_HOST: process.env.APP_HOST || 'https://lecoffreio.4nkweb.com',
APP_HOST: process.env.APP_HOST || 'https://localhost:3000',
};