.env
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
const serverApi = "http://192.168.56.1:3000";
|
||||
// const serverApi = "http://192.168.56.1:3000";
|
||||
const serverApi = import.meta.env.VITE_SERVER_API;
|
||||
|
||||
const apartmentsApi = `${serverApi}/apartments`;
|
||||
|
||||
|
||||
@@ -22,6 +22,7 @@ import SearchLoader from "./SearchLoader";
|
||||
const LayoutOptions = () => {
|
||||
const { apartments, setApartments } = useApartments();
|
||||
const [isLoading, setIsLoading] = useState(false);
|
||||
console.log("first", import.meta.env.VITE_TEST_VAR);
|
||||
|
||||
const { setModal } = useModal();
|
||||
const {
|
||||
|
||||
Reference in New Issue
Block a user