|
|
@@ -17,10 +17,10 @@ document.addEventListener("visibilitychange", function () {
|
|
|
|
|
|
var loadICP = function () {
|
|
|
var url = new URL(document.location.href);
|
|
|
- if (/www.stevenapis.xyz/gi.test(url.hostname)) {
|
|
|
+ if (/stevenapis.xyz/gi.test(url.hostname)) {
|
|
|
var a = document.createElement("a");
|
|
|
var req = new XMLHttpRequest();
|
|
|
- req.open("GET", "https://www.stevenapis.xyz/index.json");
|
|
|
+ req.open("GET", "https://stevenapis.xyz/index.json");
|
|
|
req.setRequestHeader("Content-type", "application/json");
|
|
|
req.send();
|
|
|
req.onreadystatechange = function () {
|