Fix API URLs: signup/login now use /autojobs/api/auth/*, fix JSONResponse import, fix db references in Stripe checkout
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user