fix(frontend): wrong endpoint routing (#16)
* fix(frontend): separate server and browser base url * style: format * fix: wrong endpoint routing
This commit is contained in:
parent
2fd9bafaa2
commit
69604ad0ce
|
@ -8,9 +8,9 @@ WORKDIR /app
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
ENV VITE_NODE_ENV="development"
|
ENV VITE_NODE_ENV="production"
|
||||||
ENV VITE_SERVER_API_ENDPOINT="https://jokesbapak2.reinaldyrafli.com/api/"
|
ENV VITE_SERVER_API_ENDPOINT="http://api:5000"
|
||||||
ENV VITE_BROWSER_API_ENDPOINT="http://api:5000/"
|
ENV VITE_BROWSER_API_ENDPOINT="https://jokesbapak2.reinaldyrafli.com/api"
|
||||||
ENV VITE_SENTRY_DSN=""
|
ENV VITE_SENTRY_DSN=""
|
||||||
|
|
||||||
RUN npm ci && npm run build && rm -rf node_modules && npm ci --omit=dev
|
RUN npm ci && npm run build && rm -rf node_modules && npm ci --omit=dev
|
||||||
|
|
Loading…
Reference in New Issue