tests
parent
dea3dc1217
commit
6a6291073a
|
|
@ -299,8 +299,8 @@
|
||||||
let deviceID = "";
|
let deviceID = "";
|
||||||
let delay = "";
|
let delay = "";
|
||||||
let apiKey = "";
|
let apiKey = "";
|
||||||
// const unlockUrl = "https://ths.tnet.space/cgi-bin/doorcontrol-cgi/unlock-main.cgi";
|
const unlockUrl = "https://ths.tnet.space/cgi-bin/doorcontrol-cgi/unlock-main.cgi";
|
||||||
const unlockUrl = "https://ths.tnet.space/cgi-bin/doorcontrol-cgi/test.cgi";
|
// const unlockUrl = "https://ths.tnet.space/cgi-bin/doorcontrol-cgi/test.cgi";
|
||||||
|
|
||||||
// make fetch function that calls cgi script with attributes (device id, api key, delay)
|
// make fetch function that calls cgi script with attributes (device id, api key, delay)
|
||||||
const unlockDoor = (dID, aK, d) => {
|
const unlockDoor = (dID, aK, d) => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue