Zwischenspeicher

This commit is contained in:
LionTion committed 2026-10-13 21:36:04 +02:00
1 parent ff5efa0423
commit a6c476e385
6 files changed
+159 -4

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
// TODO: THISSSSS
import { API_PREFIX } from "./const";
export async function getSwordState() {
const response = await fetch(API_PREFIX + "/sword", {
"method": "GET",
"cache": "no-cache"
});
console.log(response);
if (response.ok) {
console.log(`${await response.text()}`);
}
return response;
}