feat(MED-131): move dev envs to .env.development

This commit is contained in:
2025-08-04 18:23:52 +03:00
parent e0064b9d55
commit bd78b28f3c
3 changed files with 16 additions and 13 deletions

12
.env
View File

@@ -5,7 +5,6 @@
# TO OVERRIDE THESE VARIABLES IN A SPECIFIC ENVIRONMENT, PLEASE ADD THEM TO THE SPECIFIC ENVIRONMENT FILE (e.g. .env.development, .env.production)
# SITE
NEXT_PUBLIC_SITE_URL=https://localhost:3000
NEXT_PUBLIC_PRODUCT_NAME=MedReport
NEXT_PUBLIC_SITE_TITLE="MedReport"
NEXT_PUBLIC_SITE_DESCRIPTION="MedReport."
@@ -65,14 +64,3 @@ NEXT_PUBLIC_TEAM_NAVIGATION_STYLE=custom
NEXT_PUBLIC_USER_NAVIGATION_STYLE=custom
NEXT_PUBLIC_MEDUSA_PUBLISHABLE_KEY=
NEXT_PUBLIC_MONTONIO_ACCESS_KEY=7da5d7fa-3383-4997-9435-46aa818f4ead
MONTONIO_SECRET_KEY=rNZkzwxOiH93mzkdV53AvhSsbGidrgO2Kl5lE/IT7cvo
MONTONIO_API_URL=https://sandbox-stargate.montonio.com
# MEDUSA
MEDUSA_BACKEND_URL=http://localhost:9000
MEDUSA_BACKEND_PUBLIC_URL=http://localhost:9000
# JOBS
JOBS_API_TOKEN=73ce073c-6dd4-11f0-8e75-8fee89786197

View File

@@ -1,6 +1,9 @@
# This file is used to define environment variables for the development environment.
# These values are only used when running the app in development mode.
# SITE
NEXT_PUBLIC_SITE_URL=https://localhost:3000
# SUPABASE DEVELOPMENT
## THIS IS FOR DEVELOPMENT ONLY - DO NOT USE IN PRODUCTION
@@ -21,3 +24,15 @@ EMAIL_HOST=localhost # refer to your email provider's documentation
EMAIL_PORT=1025 # or 465 for SSL
EMAIL_TLS=false
NODE_TLS_REJECT_UNAUTHORIZED=0
# MEDUSA
MEDUSA_BACKEND_URL=http://localhost:9000
MEDUSA_BACKEND_PUBLIC_URL=http://localhost:9000
# MONTONIO
NEXT_PUBLIC_MONTONIO_ACCESS_KEY=7da5d7fa-3383-4997-9435-46aa818f4ead
MONTONIO_SECRET_KEY=rNZkzwxOiH93mzkdV53AvhSsbGidrgO2Kl5lE/IT7cvo
MONTONIO_API_URL=https://sandbox-stargate.montonio.com
# JOBS
JOBS_API_TOKEN=73ce073c-6dd4-11f0-8e75-8fee89786197

View File

@@ -56,7 +56,7 @@ export class MontonioOrderHandlerService {
if (error instanceof AxiosError) {
console.error(error.response?.data);
}
console.error(error);
console.error("Failed to create payment link, params=${JSON.stringify(params)}", error);
throw new Error("Failed to create payment link");
}
}