Skip to content

Commit d346465

Browse files
committed
fix: comma and defaults for for entrypoint
1 parent 199baf3 commit d346465

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

entrypoint.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
cat <<EOF > /usr/share/nginx/html/config.js
44
window.__SEAMLESS_CONFIG__ = {
5-
API_URL: "${API_URL}"
6-
AUTH_MODE: "${AUTH_MODE}"
5+
API_URL: "${API_URL:-http://localhost:3000/auth}",
6+
AUTH_MODE: "${AUTH_MODE:-server}"
77
};
88
EOF
99

0 commit comments

Comments
 (0)