master
Bryan 2020-12-20 01:59:08 -06:00
parent dea3dc1217
commit 6a6291073a
1 changed files with 2 additions and 2 deletions

View File

@ -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) => {