Added cruising pages support
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user