Skip to content
Snippets Groups Projects
Commit 7a6a7f85 authored by ncastejon's avatar ncastejon
Browse files

Change url for backend apis

parent 251b2a95
No related branches found
No related tags found
No related merge requests found
Pipeline #
...@@ -13,7 +13,7 @@ export class ActorsService { ...@@ -13,7 +13,7 @@ export class ActorsService {
) { } ) { }
getActors() { getActors() {
return this._httpClient.get<IActor[]>(environment.loopback.url + '/actors').pipe( return this._httpClient.get<IActor[]>(environment.backend.url + '/organizations').pipe(
map((actorsLoopback) => { map((actorsLoopback) => {
const actors = []; const actors = [];
actorsLoopback.forEach((actor) => { actorsLoopback.forEach((actor) => {
......
...@@ -19,8 +19,8 @@ export const environment = { ...@@ -19,8 +19,8 @@ export const environment = {
url: 'https://matomo-intothesky.alpha.grandlyon.com', url: 'https://matomo-intothesky.alpha.grandlyon.com',
}, },
loopback: { backend: {
url: servicesProxyUrl + '/loopback/api', url: servicesProxyUrl + '/backend',
}, },
// Path to the built app in a particular language // Path to the built app in a particular language
......
...@@ -19,8 +19,8 @@ export const environment = { ...@@ -19,8 +19,8 @@ export const environment = {
url: 'https://matomo-intothesky.alpha.grandlyon.com', url: 'https://matomo-intothesky.alpha.grandlyon.com',
}, },
loopback: { backend: {
url: 'http://localhost:3000/api', url: 'http://localhost:3000',
}, },
// Path to the built app in a particular language // Path to the built app in a particular language
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment