forked from getodk/central-frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* generate public/client-config.js at foreman startup * remove nginx's special handling for client-config.js Closes getodk#1034
- Loading branch information
alxndrsn
committed
Oct 15, 2024
1 parent
6fd5f28
commit 13480ee
Showing
3 changed files
with
3 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,3 +27,4 @@ npm-debug.log* | |
!/.nginx/.gitkeep | ||
|
||
/.eslintcache | ||
/public/client-config.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
vue: vue-cli-service build --mode development --watch | ||
nginx: nginx -c "$PWD/main.nginx.conf" -p "$PWD" -e stderr | ||
vue: echo "{\"oidcEnabled\":${VUE_APP_OIDC_ENABLED-false}}" >./public/client-config.json && vue-cli-service build --mode development --watch | ||
nginx: docker run --rm --network=host -v $PWD/nginx-conf:/etc/nginx/:ro -v $PWD/dist:/odk-central-frontend/dist nginx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters