Add zap repeat interval; flash countdown when expired
This commit is contained in:
@@ -23,10 +23,8 @@ function callAPI(apiKey, zap_intensity) {
|
||||
reason: 'Trigalarm'
|
||||
}
|
||||
});
|
||||
|
||||
const xhr = new XMLHttpRequest();
|
||||
xhr.withCredentials = true;
|
||||
|
||||
xhr.open('POST', 'https://api.pavlok.com/api/v5/stimulus/send');
|
||||
xhr.setRequestHeader('accept', 'application/json');
|
||||
xhr.setRequestHeader('content-type', 'application/json');
|
||||
|
||||
Reference in New Issue
Block a user