Skip to content

Commit fffbc53

Browse files
Fix ENV vars (#166)
1 parent 129f18a commit fffbc53

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/individuals/pages/Saved.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export default function SavedPage() {
1818
const fetchSaved = async () => {
1919
try {
2020
const response = await fetch(
21-
`${process.env.REACT_APP_BACKEND_SERVER}/savedOpportunities`, {
21+
`${import.meta.env.VITE_BACKEND_SERVER}/savedOpportunities`, {
2222
credentials: "include",
2323
}
2424
);
@@ -98,7 +98,7 @@ export default function SavedPage() {
9898
}
9999

100100
const response = await fetch(
101-
`${process.env.REACT_APP_BACKEND_SERVER}/unsaveOpportunity/${opportunity.id}`, {
101+
`${import.meta.env.VITE_BACKEND_SERVER}/unsaveOpportunity/${opportunity.id}`, {
102102
method: "DELETE",
103103
credentials: "include",
104104
headers,

0 commit comments

Comments
 (0)