Skip to content

Commit e83f42f

Browse files
committed
changed environment URLs and http requests
1 parent 8b4569b commit e83f42f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/providers/user/user.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { Injectable } from '@angular/core';
33

44
import { ENV } from '@app/env';
55

6-
/*
6+
/*
77
Generated class for the UserProvider provider.
88
99
See https://angular.io/guide/dependency-injection for more info on providers
@@ -20,11 +20,11 @@ export class UserProvider {
2020

2121
sendReg(user) {
2222
console.log('sendReg() runs')
23-
return this.http.post(this.requestUrl, user)
23+
return this.http.post(this.requestUrl + 'appUsers', user)
2424
}
2525

2626

2727
login(creds) {
28-
return this.http.post(this.requestUrl + '/login', creds);
28+
return this.http.post(this.requestUrl + 'appUsers/login', creds);
2929
}
3030
}

0 commit comments

Comments
 (0)