Why: establish baseline web runtime scaffold before wave implementation. What: add react app structure, docker runtime assets, docs runbooks, and ignore policy updates. Rule: keep technical intent and repository workflow compliance.
9 lines
161 B
Bash
9 lines
161 B
Bash
#!/bin/sh
|
|
set -eu
|
|
|
|
cat > /usr/share/nginx/html/runtime-config.js <<EOT
|
|
window.__APP_CONFIG__ = {
|
|
API_BASE_URL: "${API_BASE_URL:-http://localhost:8080}"
|
|
};
|
|
EOT
|