We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 129f18a commit fffbc53Copy full SHA for fffbc53
src/individuals/pages/Saved.tsx
@@ -18,7 +18,7 @@ export default function SavedPage() {
18
const fetchSaved = async () => {
19
try {
20
const response = await fetch(
21
- `${process.env.REACT_APP_BACKEND_SERVER}/savedOpportunities`, {
+ `${import.meta.env.VITE_BACKEND_SERVER}/savedOpportunities`, {
22
credentials: "include",
23
}
24
);
@@ -98,7 +98,7 @@ export default function SavedPage() {
98
99
100
101
- `${process.env.REACT_APP_BACKEND_SERVER}/unsaveOpportunity/${opportunity.id}`, {
+ `${import.meta.env.VITE_BACKEND_SERVER}/unsaveOpportunity/${opportunity.id}`, {
102
method: "DELETE",
103
104
headers,
0 commit comments