PoleElementsList component

This commit is contained in:
2025-06-22 00:22:26 +02:00
parent 0092aa321d
commit 7df048adb0
3 changed files with 58 additions and 39 deletions

View File

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