clockech-script
Advanced tools
Comparing version 2.1.3 to 2.1.4
!(function () { | ||
let token; | ||
let token, api; | ||
@@ -8,2 +8,3 @@ if (document.currentScript) { | ||
token = script.getAttribute("data-token"); | ||
api = script.getAttribute("data-api"); | ||
} | ||
@@ -66,3 +67,3 @@ | ||
fetch("https://localhost:8000/api/data/track", { | ||
fetch(api + "/api/data/track", { | ||
method: "POST", | ||
@@ -69,0 +70,0 @@ headers: { |
{ | ||
"name": "clockech-script", | ||
"version": "2.1.3", | ||
"version": "2.1.4", | ||
"description": "Clockech script for tracking analytics", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
205867
4944