mirror of
https://github.com/ArthurDanjou/website-old.git
synced 2026-01-14 20:19:35 +01:00
testing
This commit is contained in:
@@ -26,15 +26,16 @@ export default defineComponent({
|
||||
const { $axios } = useContext()
|
||||
|
||||
const headers = {
|
||||
'Access-Control-Allow-Origin': 'arthurdanjou.fr',
|
||||
'Content-Type': 'application/json'
|
||||
'Access-Control-Allow-Origin': 'dev.arthurdanjou.fr',
|
||||
'Content-Type': 'application/json',
|
||||
'Authorization': `Bearer ${process.env.API_TOKEN}`
|
||||
}
|
||||
|
||||
const loginWithGithub = () => {
|
||||
return $axios.get('/auth/github',{headers})
|
||||
$axios.get('/auth/github', {headers})
|
||||
.then((response) => {
|
||||
console.log(response)
|
||||
})
|
||||
console.log(response)
|
||||
})
|
||||
}
|
||||
|
||||
const loginWithGoogle = () => {
|
||||
|
||||
Reference in New Issue
Block a user