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
All checks were successful
Build and Push to Registry / build-and-push (push) Successful in 57s
This commit is contained in:
parent
f79b3f8f26
commit
61a6b166f7
@ -5,7 +5,7 @@ dotenv.config();
|
|||||||
export const config = {
|
export const config = {
|
||||||
port: process.env.PORT || 8080,
|
port: process.env.PORT || 8080,
|
||||||
defaultStorage: process.env.DEFAULT_STORAGE || 'https://dev3.4nkweb.com/storage',
|
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
|
// Déterminer dynamiquement l'origine CORS à partir d'APP_HOST si possible
|
||||||
cors: (() => {
|
cors: (() => {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
export const stripeConfig = {
|
export const stripeConfig = {
|
||||||
STRIPE_SECRET_KEY: process.env.STRIPE_SECRET_KEY,
|
STRIPE_SECRET_KEY: process.env.STRIPE_SECRET_KEY,
|
||||||
STRIPE_WEBHOOK_SECRET: process.env.STRIPE_WEBHOOK_SECRET,
|
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',
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user