narinder1231 commited on
Commit
37725e0
·
1 Parent(s): 2469d7f

Add .env.example file with API URL configuration

Browse files
Files changed (2) hide show
  1. .env.example +1 -0
  2. src/vite-env.d.ts +8 -0
.env.example ADDED
@@ -0,0 +1 @@
 
 
1
+ VITE_API_URL=http://localhost:8000/api/v1/
src/vite-env.d.ts CHANGED
@@ -1 +1,9 @@
1
  /// <reference types="vite/client" />
 
 
 
 
 
 
 
 
 
1
  /// <reference types="vite/client" />
2
+
3
+ interface ImportMetaEnv {
4
+ readonly VITE_API_URL: string;
5
+ }
6
+
7
+ interface ImportMeta {
8
+ readonly env: ImportMetaEnv;
9
+ }