Added cruising pages support

This commit is contained in:
2018-03-08 14:41:45 -05:00
parent 9fcaef1068
commit 0cf95d2cd4
18 changed files with 355 additions and 12 deletions

View File

@@ -5,6 +5,7 @@ import 'rxjs/add/operator/map';
@Injectable()
export class ProfileService {
endpoint: string = 'https://api.fitz.guru/urge/profiles'; //'assets/data/profiles.json';
idMap: any;
profiles: any;
@@ -19,7 +20,7 @@ export class ProfileService {
}
return new Promise(resolve => {
this.http.get('https://api.fitz.guru/urge/profiles')
this.http.get(this.endpoint)
.map(res => res.json())
.subscribe(data => {
this.profiles = data;