feat: implement type-safe environment configuration and add .env.example files for web and landing apps

This commit is contained in:
Firman Ramdhani
2026-05-29 13:43:31 +07:00
parent d52e403474
commit 86c02e7111
4 changed files with 19 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
/**
* Type-safe Environment Wrapper for apps/landing.
*/
export const ENV = {
CMS_API_URL: import.meta.env.VITE_CMS_API_URL || 'http://localhost:8001/cms',
} as const;