Zwischenspeicher
This commit is contained in:
1 parent
ff5efa0423
commit
a6c476e385
6 files changed
+159
-4
No files matched your search
@@ -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;
|
||||
}
|
||||
Reference in new issue
Block a user