We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent abbe0ac commit 867c46eCopy full SHA for 867c46e
1 file changed
frontend/50-set-api-endpoint.sh
@@ -1,6 +1,5 @@
1
#!/bin/sh
2
3
-
4
-if [ ! -f /usr/share/nginx/html/assets/config.json ] && [ ! -z "${API_ENDPOINT}" ]; then
5
- echo "{\"API_ENDPOINT\": ${API_ENDPOINT}}" > /usr/share/nginx/html/assets/config.json
+if [ ! -z "${API_ENDPOINT}" ]; then
+ echo "{\"API_ENDPOINT\": ${API_ENDPOINT}}" >/usr/share/nginx/html/assets/config.json
6
fi
0 commit comments