We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa4d9a5 commit 8821845Copy full SHA for 8821845
Frontend/src/App/CodeEditor/NavigationBar.tsx
@@ -72,7 +72,9 @@ const NavigationBar = () => {
72
setLoading(false);
73
return;
74
}
75
- const apiUrl = `http://localhost:4000/codespaces/${codespaceId}/inviteusers`;
+ const apiUrl = `${
76
+ import.meta.env.VITE_BACKEND_URL
77
+ }/codespaces/${codespaceId}/inviteusers`;
78
const res = await axios.get(apiUrl, {
79
headers: {
80
"Content-Type": "application/json",
0 commit comments