Commit
·
3353f40
1
Parent(s):
797bd88
add VITE_WS_URL in env example file
Browse files- .env.example +1 -0
- src/vite-env.d.ts +1 -0
.env.example
CHANGED
|
@@ -1 +1,2 @@
|
|
| 1 |
VITE_API_URL=http://localhost:8000/api/v1/
|
|
|
|
|
|
| 1 |
VITE_API_URL=http://localhost:8000/api/v1/
|
| 2 |
+
VITE_WS_URL=ws://localhost:8000/api/v1/
|
src/vite-env.d.ts
CHANGED
|
@@ -2,6 +2,7 @@
|
|
| 2 |
|
| 3 |
interface ImportMetaEnv {
|
| 4 |
readonly VITE_API_URL: string;
|
|
|
|
| 5 |
}
|
| 6 |
|
| 7 |
interface ImportMeta {
|
|
|
|
| 2 |
|
| 3 |
interface ImportMetaEnv {
|
| 4 |
readonly VITE_API_URL: string;
|
| 5 |
+
readonly VITE_WS_URL: string;
|
| 6 |
}
|
| 7 |
|
| 8 |
interface ImportMeta {
|