done
This commit is contained in:
parent
1ae56f76ac
commit
252e91fc77
File diff suppressed because one or more lines are too long
|
@ -45,7 +45,7 @@
|
|||
|
||||
|
||||
|
||||
<script type="module" crossorigin src="/assets/index-xG9H_uK3.js"></script>
|
||||
<script type="module" crossorigin src="/assets/index-D1RcI06_.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-DepkKhoc.css">
|
||||
</head>
|
||||
|
||||
|
|
|
@ -65,7 +65,7 @@ export const updateProperty = createAsyncThunk(
|
|||
);
|
||||
|
||||
export const getProperties = createAsyncThunk("property/getProperties", async () => {
|
||||
const response = await axios.get("http://localhost:3002/properties"); // Backend endpoint
|
||||
const response = await axios.get(`${import.meta.env.VITE_REACT_APP_SECRET}/properties`); // Backend endpoint
|
||||
return response.data;
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue