Commit 7a280c9f authored by Tifenn Guillas's avatar Tifenn Guillas
Browse files

Merge branch 'develop' into 55-design-selectbox-output

parents ac262782 d3d872f5
......@@ -5,7 +5,7 @@ import { environment } from '../../../environments/environment';
@Injectable()
export class DetailService {
private API_PATH: string = environment.apiUrl + '/search';
private API_PATH: string = environment.apiUrl + '/search/' + environment.instanceName;
constructor(private http: HttpClient) { }
......
......@@ -6,7 +6,7 @@ import { environment } from '../../../environments/environment';
@Injectable()
export class AttributeService {
private API_PATH: string = environment.apiUrl + '/metadata';
private API_PATH: string = environment.apiUrl + '/metadata/' + environment.instanceName;
constructor(private http: HttpClient) { }
......
......@@ -6,7 +6,7 @@ import { environment } from '../../../environments/environment';
@Injectable()
export class CriteriaService {
private API_PATH: string = environment.apiUrl + '/metadata';
private API_PATH: string = environment.apiUrl + '/metadata/' + environment.instanceName;
constructor(private http: HttpClient) { }
......
......@@ -7,7 +7,7 @@ import { environment } from '../../../environments/environment';
@Injectable()
export class DatasetService {
private API_PATH: string = environment.apiUrl + '/metadata';
private API_PATH: string = environment.apiUrl + '/metadata/' + environment.instanceName;
constructor(private http: HttpClient) { }
......
......@@ -7,7 +7,7 @@ import { environment } from '../../../environments/environment';
@Injectable()
export class OutputService {
private API_PATH: string = environment.apiUrl + '/metadata';
private API_PATH: string = environment.apiUrl + '/metadata/' + environment.instanceName;
constructor(private http: HttpClient) { }
......
......@@ -6,7 +6,7 @@ import { environment } from '../../../environments/environment';
@Injectable()
export class SearchService {
private API_PATH: string = environment.apiUrl + '/search';
private API_PATH: string = environment.apiUrl + '/search/' + environment.instanceName;
constructor(private http: HttpClient) { }
......
export const environment = {
production: true,
apiUrl: 'https://anis-dev.lam.fr'
production: true,
apiUrl: 'https://anis-dev.lam.fr',
instanceName: 'default'
};
......@@ -5,5 +5,6 @@
export const environment = {
production: false,
apiUrl: 'http://localhost:8080'
apiUrl: 'http://localhost:8080',
instanceName: 'default'
};
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment