account
This commit is contained in:
@@ -54,7 +54,7 @@ export default defineNuxtConfig({
|
||||
"/api": {
|
||||
target: "http://localhost:8000/api",
|
||||
prependPath: true,
|
||||
changeOrigin: true
|
||||
changeOrigin: true,
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -78,7 +78,6 @@ const submit = async () => {
|
||||
submitting.value = true
|
||||
const { data, error } = await useFetch('/api/account/login/', {
|
||||
method: 'POST',
|
||||
credentials: 'omit',
|
||||
body: JSON.stringify(formData.value)
|
||||
})
|
||||
if (error.value) {
|
||||
|
||||
Reference in New Issue
Block a user