We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22bef27 commit 7f37efeCopy full SHA for 7f37efe
src/client/Dockerfile
@@ -6,7 +6,7 @@ WORKDIR /app
6
7
# add `/app/node_modules/.bin` to $PATH
8
ENV PATH /app/node_modules/.bin:$PATH
9
-# ENV PAWS_API_HOST paws-compose-server
+
10
# install app dependencies
11
COPY package.json ./
12
COPY package-lock.json ./
src/client/src/setupProxy.js
@@ -2,7 +2,7 @@ const proxy = require('http-proxy-middleware');
2
3
module.exports = function(app) {
4
app.use(proxy('/api/**', {
5
- target: process.env.IS_LOCAL === 'true' ? 'http://localhost:3333' : 'http://server:5000',
+ target: process.env.IS_LOCAL === 'true' ? 'http://localhost:5000' : 'http://server:5000',
changeOrigin: true,
}
));
0 commit comments