fix: some shit
All checks were successful
Deploy to GitHub Pages / build_site (push) Successful in 1m55s
All checks were successful
Deploy to GitHub Pages / build_site (push) Successful in 1m55s
This commit is contained in:
@ -44,7 +44,7 @@ for await (const dir of dirs) {
|
||||
async function postNode(node: Node) {
|
||||
const wasmContent = await Deno.readFile(node.path);
|
||||
|
||||
const url = `http://localhost:8000/v1/nodes`;
|
||||
const url = `http://localhost:8000/nodes`;
|
||||
|
||||
const res = await fetch(url, {
|
||||
method: "POST",
|
||||
@ -55,7 +55,7 @@ async function postNode(node: Node) {
|
||||
console.log(`Uploaded ${node.id}`);
|
||||
} else {
|
||||
const text = await res.text();
|
||||
console.log(`Failed to upload ${node.id}: ${text}`);
|
||||
console.log(`Failed to upload ${node.id}: ${res.status} ${text}`);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user