Fixed site not building for production
This commit is contained in:
parent
8e433c3250
commit
5cbb1c1a97
20 changed files with 5 additions and 3505 deletions
|
|
@ -8,7 +8,10 @@ let test = ref("yeet")
|
|||
|
||||
fetch("/api/users").then(
|
||||
res => {
|
||||
if (!res.ok) return Promise.reject()
|
||||
if (!res.ok) {
|
||||
console.log("ah chucks")
|
||||
return Promise.reject()
|
||||
}
|
||||
|
||||
return res.json()
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue