mirror of
https://github.com/MikroWizard/mikrofront.git
synced 2025-07-30 15:54:35 +02:00
add login with google and change
This commit is contained in:
parent
10d4cff4a4
commit
d8ed8ce2ce
25 changed files with 1946 additions and 468 deletions
|
@ -124,7 +124,7 @@ export class MikroWizardProvider {
|
|||
let headers = {
|
||||
"Content-Type": "application/json",
|
||||
};
|
||||
return this.http.post(url, params,
|
||||
return this.http.post(this.MikroWizard_server + url, params,
|
||||
{headers:this.headers,withCredentials:true}
|
||||
).toPromise()
|
||||
.then(this.handleRequestErrors)
|
||||
|
@ -145,7 +145,7 @@ export class MikroWizardProvider {
|
|||
let headers = {
|
||||
"Content-Type": "application/x-www-form-urlencoded",
|
||||
};
|
||||
return this.http.get( url,
|
||||
return this.http.get( this.MikroWizard_server + url,
|
||||
{ responseType: 'json' }
|
||||
).toPromise()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue