19 lines
430 B
TypeScript
19 lines
430 B
TypeScript
import { Injectable, Inject } from '@angular/core';
|
|
import { Http } from '@angular/http';
|
|
import { HttpBaseService } from './http-base.service';
|
|
|
|
@Injectable()
|
|
export class HttpService extends HttpBaseService {
|
|
get httpBase() {
|
|
return "http://ccrruby1-1:3085";
|
|
//return '/public/mocks';
|
|
}
|
|
get httpSuffix() {
|
|
return "";
|
|
//return '.json';
|
|
}
|
|
|
|
constructor(@Inject(Http) _http: Http) {
|
|
super(_http);
|
|
}
|
|
} |