We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7653d5 commit 9a5495cCopy full SHA for 9a5495c
2 files changed
Client/src/api/document.api.ts
@@ -1,7 +1,7 @@
1
import axios from "axios";
2
3
const api = axios.create({
4
- baseURL: import.meta.env.VITE_API_URL || "http://localhost:3000/api",
+ baseURL: `${import.meta.env.VITE_API_URL}/api`,
5
withCredentials: true,
6
});
7
Client/src/api/workspace.api.ts
@@ -40,8 +40,7 @@ export interface CreateWorkspaceDto {
40
}
41
42
43
- baseURL:
44
- import.meta.env.VITE_API_URL || "http://localhost:3000/api/workspace",
+ baseURL: `${import.meta.env.VITE_API_URL}/api/workspace`,
45
46
47
0 commit comments