Fix API URLs: signup/login now use /autojobs/api/auth/*, fix JSONResponse import, fix db references in Stripe checkout

This commit is contained in:
2026-04-14 14:17:04 +02:00
parent 21d65286f7
commit 4417bb2a57
3 changed files with 15 additions and 7 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ export default function LoginPage() {
setError("")
try {
const res = await fetch("/api/auth/login", {
const res = await fetch("/autojobs/api/auth/login", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify(form)