mirror of
https://github.com/ArthurDanjou/website-old.git
synced 2026-01-14 12:14:42 +01:00
Working
This commit is contained in:
@@ -2,7 +2,11 @@ import {NuxtOptionsModule} from "@nuxt/types/config/module";
|
||||
|
||||
const axios = {
|
||||
credentials: true,
|
||||
baseURL: 'https://api.arthurdanjou.fr'
|
||||
baseURL: 'https://api.arthurdanjou.fr',
|
||||
headers: {
|
||||
'Access-Control-Allow-Origin': '*',
|
||||
'Content-Type': 'application/json'
|
||||
}
|
||||
}
|
||||
|
||||
const i18n = {
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="my-3">
|
||||
<form v-if="!success" class="relative">
|
||||
<form v-if="!success" class="relative right-0 top-0">
|
||||
<input
|
||||
required
|
||||
:placeholder="$t('guestbook.placeholder')"
|
||||
@@ -58,6 +58,10 @@ export default defineComponent({
|
||||
headers: {
|
||||
'Access-Control-Allow-Origin': '*',
|
||||
'Content-Type': 'application/json'
|
||||
},
|
||||
proxy: {
|
||||
host: 'https://api.arthurdanjou.fr',
|
||||
port: 80
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user