Crash fixes

This commit is contained in:
2024-08-06 22:11:06 +02:00
parent 4210f2168a
commit a5b16cbdf9
6 changed files with 23 additions and 18 deletions

View File

@@ -29,7 +29,7 @@ export default () => {
Effect.orDie,
);
const res = yield* Effect.promise((signal) => fetch("/api/login", {
const res = yield* Effect.promise((signal) => fetch("http://localhost:3000/login", {
method: "POST",
body: requestJson,
headers: { "Content-Type": "application/json" },