Some API_URL ethnic cleansing

This commit is contained in:
Aarni Halinen
2019-12-17 22:05:37 +02:00
parent 04444320a5
commit f03577358d
4 changed files with 4 additions and 6 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ pushd deployment-frontend
docker-compose down
docker pull "$1"
API_URL=http://web.sik.party:8000/api docker-compose up -d frontend
docker-compose up -d frontend
popd
+1 -1
View File
@@ -35,7 +35,7 @@ ts:build:
only:
- master
script:
- API_URL=http://web.sik.party:8000 npm run build
- API_URL=http://web.sik.party:8000/api npm run build
prod:build:
image: node:12
+2 -2
View File
@@ -33,8 +33,8 @@
"start-prod": "npm run build && npm run serve",
"mock-backend": "json-server --watch db.json -H 0.0.0.0 -p 1234",
"test": "npm run test:e2e:verbose",
"test:e2e": "API_URL=http://web.sik.party:8000/api npm-run-all -p -r serve test:e2e:testcafe",
"test:e2e:verbose": "API_URL=http://web.sik.party:8000/api npm-run-all -p -r serve test:e2e:testcafe:verbose",
"test:e2e": "npm-run-all -p -r serve test:e2e:testcafe",
"test:e2e:verbose": "npm-run-all -p -r serve test:e2e:testcafe:verbose",
"test:e2e:testcafe": "testcafe -S -s 'tests/testcafe/screenshots' --app-init-delay 2000 chrome:headless tests/testcafe",
"test:e2e:testcafe:verbose": "testcafe -S -s 'tests/testcafe/screenshots' --app-init-delay 2000 chrome tests/testcafe",
"plop": "plop"
-2
View File
@@ -11,5 +11,3 @@ services:
order: start-first
ports:
- 3000:3000
environment:
API_URL: ${API_URL}