From 82c5e01cec3956fbf4c40c509583f3f73e437e3c Mon Sep 17 00:00:00 2001 From: pernisch Date: Thu, 12 Dec 2024 14:15:09 +0100 Subject: [PATCH] updating frontend configs --- front-end/Dockerfile | 1 - front-end/public/javascripts/config.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/front-end/Dockerfile b/front-end/Dockerfile index f9d0f37..ced1fa8 100644 --- a/front-end/Dockerfile +++ b/front-end/Dockerfile @@ -4,7 +4,6 @@ WORKDIR /usr/src/app COPY ["package.json", "package-lock.json*", "npm-shrinkwrap.json*", "./"] RUN npm install --production --silent && mv node_modules ../ COPY . . -EXPOSE 3000 RUN chown -R node /usr/src/app USER node CMD ["npm", "start"] diff --git a/front-end/public/javascripts/config.js b/front-end/public/javascripts/config.js index 08361a7..6b1959d 100644 --- a/front-end/public/javascripts/config.js +++ b/front-end/public/javascripts/config.js @@ -1,3 +1,3 @@ -var apiurl = "http://localhost:8000" +var apiurl = "https://backend-co-pla.apps.k8s.vu.nl" globalThis.apiurl = apiurl; globalThis.loadMessage = "Waiting on response..." \ No newline at end of file