Skip to content
Snippets Groups Projects
Commit e65a4151 authored by Lucas Eduardo Schoenfelder's avatar Lucas Eduardo Schoenfelder
Browse files

fixed backend call

parent 6de17ae5
No related branches found
No related tags found
4 merge requests!57Merge of develop into master,!56Fixed buttons reportar, seguir, compartilhar, guardar and entrar (in comments...,!39Update admin system,!32Homologa
...@@ -32,7 +32,7 @@ import {apiUrl} from '../env'; ...@@ -32,7 +32,7 @@ import {apiUrl} from '../env';
async function handleGoogleAttempt () { async function handleGoogleAttempt () {
console.log("handleGoogleAttempt") console.log("handleGoogleAttempt")
let request_url = ( let request_url = (
`${apiUrl}/v1/omniauth/google_oauth2?auth_origin_url=` + window.location.href + '&omniauth_window_type=sameWindow&resource_class=User' `${apiUrl}/omniauth/google_oauth2?auth_origin_url=` + window.location.href + '&omniauth_window_type=sameWindow&resource_class=User'
) )
window.location.replace(request_url) window.location.replace(request_url)
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment