master
Bryan 2020-12-20 01:41:13 -06:00
parent 88e517dc23
commit 40a85dfc8d
1 changed files with 2 additions and 1 deletions

View File

@ -299,7 +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";
// 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) => {