IP von window und nicht von .env.local, weil in CHIPTOOL kann die IP geändert werden
This commit is contained in:
@@ -114,7 +114,9 @@ function Kue705FO({
|
||||
}
|
||||
|
||||
let slotFormat = slot < 10 ? `0${slot}` : `${slot}`;
|
||||
const apiUrl = process.env.NEXT_PUBLIC_API_BASE_URL;
|
||||
|
||||
//const apiUrl = process.env.NEXT_PUBLIC_API_BASE_URL;
|
||||
const apiUrl = `https://${window.ip}:443`;
|
||||
|
||||
setLoading(true);
|
||||
fetch(
|
||||
|
||||
Reference in New Issue
Block a user