diff --git a/src/components/GuestBookLogin.vue b/src/components/GuestBookLogin.vue index 6efa3c3..84927f3 100644 --- a/src/components/GuestBookLogin.vue +++ b/src/components/GuestBookLogin.vue @@ -26,7 +26,11 @@ export default defineComponent({ const { $axios } = useContext() const loginWithGithub = () => { - return $axios.get('/auth/github').then((response) => { + return $axios.get('/auth/github',{ + headers: { + 'Access-Control-Allow-Origin': '*' + } + }).then((response) => { console.log(response) }) }