mirror of
https://github.com/usatiuk/EggbotWireless.git
synced 2025-10-26 08:47:49 +01:00
[App] use current window's hostname for api calls
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
const root = "http://eggbot.local";
|
const root = window.location.protocol + "//" + window.location.hostname;
|
||||||
|
|
||||||
export async function fetchJSON(
|
export async function fetchJSON(
|
||||||
path: string,
|
path: string,
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Binary file not shown.
BIN
Firmware/EggbotWireless/data/src.4083911a.js.gz
Normal file
BIN
Firmware/EggbotWireless/data/src.4083911a.js.gz
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Firmware/EggbotWireless/data/src.dd049f86.css.gz
Normal file
BIN
Firmware/EggbotWireless/data/src.dd049f86.css.gz
Normal file
Binary file not shown.
@@ -16,6 +16,6 @@ monitor_speed = 115200
|
|||||||
board_build.f_cpu = 160000000L
|
board_build.f_cpu = 160000000L
|
||||||
upload_resetmethod = nodemcu
|
upload_resetmethod = nodemcu
|
||||||
|
|
||||||
upload_port=/dev/ttyUSB0
|
upload_port=COM6
|
||||||
|
|
||||||
lib_deps = ArduinoJson@6.11
|
lib_deps = ArduinoJson@6.11
|
||||||
Reference in New Issue
Block a user