Change default api url to 3456 (Vikunja default)

This commit is contained in:
kolaente 2020-05-05 22:47:17 +02:00
parent d46faec23d
commit 0c6b0cb48d
Signed by untrusted user: konrad
GPG Key ID: F40E70337AB24C9B
3 changed files with 4 additions and 4 deletions

View File

@ -39,7 +39,7 @@ steps:
- yarn --frozen-lockfile
- yarn run lint
- yarn run build
- sed -i 's/http\:\/\/localhost\:8080\/api\/v1/\/api\/v1/g' dist/index.html # Override the default api url used for developing
- sed -i 's/http\:\/\/localhost\:3456\/api\/v1/\/api\/v1/g' dist/index.html # Override the default api url used for developing
- name: static
image: kolaente/zip
@ -113,7 +113,7 @@ steps:
- yarn --frozen-lockfile
- yarn run lint
- yarn run build
- sed -i 's/http\:\/\/localhost\:8080\/api\/v1/\/api\/v1/g' dist/index.html # Override the default api url used for developing
- sed -i 's/http\:\/\/localhost\:3456\/api\/v1/\/api\/v1/g' dist/index.html # Override the default api url used for developing
- name: static
image: kolaente/zip

View File

@ -10,7 +10,7 @@ RUN \
yarn install --frozen-lockfile && \
yarn run build && \
# Override config
sed -i 's/http\:\/\/localhost\:8080\/api\/v1/\/api\/v1/g' dist/index.html
sed -i 's/http\:\/\/localhost\:3456\/api\/v1/\/api\/v1/g' dist/index.html
# Stage 2: copy
FROM nginx

View File

@ -30,7 +30,7 @@
// This variable points the frontend to the api.
// It has to be the full url, including the last /api/v1 part and port.
// You can change this if your api is not reachable on the same port as the frontend.
window.API_URL = 'http://localhost:8080/api/v1'
window.API_URL = 'http://localhost:3456/api/v1'
//
</script>
</body>