testing out get calls

This commit is contained in:
iamBadgers
2025-07-12 17:27:05 -07:00
parent 01e1b63a53
commit 2d59048a5e
3 changed files with 24 additions and 2 deletions

View File

@@ -3,6 +3,16 @@ import { CharacterArchiver } from "./apps/CharacterArchiver.js"
Hooks.on('init', async function () {
initializeSettings();
console.log("HERE");
let xmlHttp = new XMLHttpRequest();
console.log("HERE 1");
xmlHttp.open("GET", "http://localhost:8080", false);
console.log("HERE 2");
xmlHttp.send(null);
console.log("HERE 3");
console.log(xmlHttp.responseText);
console.log("HERE 4");
});
// Add to the character sheet header bar.