This commit is contained in:
omkieit 2024-09-25 19:56:38 +05:30
parent 1ae56f76ac
commit 252e91fc77
3 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -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>

View File

@ -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;
});