deploy stuff, envs

This commit is contained in:
2025-06-22 06:46:44 +02:00
parent d31b0275e5
commit a55b248e1b
5 changed files with 16 additions and 8 deletions

View File

@@ -1,6 +1,6 @@
// Global Strapi configuration
export const STRAPI_CONFIG = {
BASE_URL: (import.meta.env.STRAPI_URL as string) || "http://localhost:1337",
BASE_URL: (import.meta.env.STRAPI_URL as string) || (process.env.STRAPI_URL as string) || "http://localhost:1337",
} as const;
// Helper function to get the base URL