moved bitcoreNode to parent package.json; changed apiPrefix
This commit is contained in:
parent
12775d3170
commit
0473d96ab8
@ -1,7 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "insight-ui",
|
"name": "insight-ui",
|
||||||
"private": true,
|
"private": true,
|
||||||
"bitcoreNode": "bitcore-node",
|
|
||||||
"insightConfig": {
|
"insightConfig": {
|
||||||
"apiPrefix": "api",
|
"apiPrefix": "api",
|
||||||
"routePrefix": ""
|
"routePrefix": ""
|
||||||
@ -67,4 +66,4 @@
|
|||||||
"node": ">=8"
|
"node": ">=8"
|
||||||
},
|
},
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -11,7 +11,7 @@ import 'rxjs/add/operator/map';
|
|||||||
@Injectable()
|
@Injectable()
|
||||||
export class ApiProvider {
|
export class ApiProvider {
|
||||||
|
|
||||||
public apiPrefix: string = '/api/';
|
public apiPrefix: string = '/insight-api/';
|
||||||
|
|
||||||
constructor(public http: Http) {
|
constructor(public http: Http) {
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user