From b53688f3511af0a6caecfb99d113d1d9cbf0af52 Mon Sep 17 00:00:00 2001 From: Clement FERRERE Date: Mon, 28 Mar 2022 11:54:02 +0200 Subject: [PATCH] Changement des routes pour correspondre aux routes du conteneur docker-compose du back. --- Dockerfile | 1 - src/ressources/routes/routes.ts | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index e2fa3ba..c335dd9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,5 @@ # Stage 1 - FROM node:16-alpine3.14 as build-step RUN mkdir -p /app diff --git a/src/ressources/routes/routes.ts b/src/ressources/routes/routes.ts index dbe2e02..a4645f5 100644 --- a/src/ressources/routes/routes.ts +++ b/src/ressources/routes/routes.ts @@ -1,3 +1,3 @@ -export const collaborateursUrl = 'https://localhost:8081/api/collaborateurs'; -export const agencesUrl = 'https://localhost:8081/api/agences'; -export const businessunitsUrl = 'https://localhost:8081/api/businessunits'; +export const collaborateursUrl = 'https://localhost:5001/api/collaborateurs'; +export const agencesUrl = 'https://localhost:5001/api/agences'; +export const businessunitsUrl = 'https://localhost:5001/api/businessunits';