20 lines
410 B
TypeScript
20 lines
410 B
TypeScript
import { Injectable } from '@angular/core';
|
|
import { Http } from '@angular/http';
|
|
import 'rxjs/add/operator/map';
|
|
|
|
/*
|
|
Generated class for the ApiProvider provider.
|
|
|
|
See https://angular.io/docs/ts/latest/guide/dependency-injection.html
|
|
for more info on providers and Angular DI.
|
|
*/
|
|
@Injectable()
|
|
export class ApiProvider {
|
|
|
|
public apiPrefix: string = '/api/';
|
|
|
|
constructor(public http: Http) {
|
|
}
|
|
|
|
}
|