Skip to content

Commit 8821845

Browse files
changed navbar share link
1 parent aa4d9a5 commit 8821845

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Frontend/src/App/CodeEditor/NavigationBar.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,9 @@ const NavigationBar = () => {
7272
setLoading(false);
7373
return;
7474
}
75-
const apiUrl = `http://localhost:4000/codespaces/${codespaceId}/inviteusers`;
75+
const apiUrl = `${
76+
import.meta.env.VITE_BACKEND_URL
77+
}/codespaces/${codespaceId}/inviteusers`;
7678
const res = await axios.get(apiUrl, {
7779
headers: {
7880
"Content-Type": "application/json",

0 commit comments

Comments
 (0)