mirror of
https://github.com/ArthurDanjou/website-old.git
synced 2026-01-28 19:00:34 +01:00
Fix CORS
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<section class="p-6 border border-indigo-300 dark:border-indigo-700 rounded-lg text-justify">
|
<section class="p-6 border border-indigo-600 bg-indigo-100 dark:border-indigo-700 rounded-lg text-justify">
|
||||||
<h1 class="text-black font-bold dark:text-white text-2xl">{{ $t('guestbook.signin') }}</h1>
|
<h1 class="text-black font-bold dark:text-white text-2xl">{{ $t('guestbook.signin') }}</h1>
|
||||||
<h3 class="text-gray-500 dark:text-gray-400">{{ $t('guestbook.share') }}</h3>
|
<h3 class="text-gray-500 dark:text-gray-400">{{ $t('guestbook.share') }}</h3>
|
||||||
<div class="hidden flex space-x-4 my-3">
|
<div class="hidden flex space-x-4 my-3">
|
||||||
@@ -54,7 +54,7 @@ export default defineComponent({
|
|||||||
const { $axios, $sentry } = useContext()
|
const { $axios, $sentry } = useContext()
|
||||||
|
|
||||||
const headers = {
|
const headers = {
|
||||||
'Access-Control-Allow-Origin': 'https://arthurdanjou.fr',
|
'Access-Control-Allow-Origin': '*',
|
||||||
'Content-Type': 'application/json'
|
'Content-Type': 'application/json'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user