Skip to content

Commit 1614f46

Browse files
committed
Update NavBar to use BACKEND_URL for API requests instead of BASE_URL
1 parent 3409262 commit 1614f46

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/NavBar.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ import {
3939

4040
// Pure functions
4141
import downloadFileUtil from "../controllers/downloadAsFile";
42-
import { BASE_URL } from "../constants";
42+
import { BACKEND_URL } from "../constants";
4343

44-
const URL = `${BASE_URL}/execute`;
44+
const URL = `${BACKEND_URL}/execute`;
4545

4646
const NavBar = ({
4747
code,

0 commit comments

Comments
 (0)