f46ba8cadc
style(admin): increase max-width of admin page and adjust table styles fix(n8n): enhance workflow import and publishing process fix(workflows): update SQL queries for fetching and updating sales orders feat(migrations): normalize rental types and enhance email guard for individuell rentals feat(migrations): add RPC for updating deposit in sales orders fix(migrations): ensure individuell orders persist net/vat components and backfill existing records test: update last run status to failed
11 lines
291 B
Bash
11 lines
291 B
Bash
#!/bin/sh
|
|
set -eu
|
|
cat > /usr/share/nginx/html/config.js <<EOF
|
|
window.MCCARS_CONFIG = {
|
|
SUPABASE_URL: "${SUPABASE_URL:-http://localhost:8000}",
|
|
SUPABASE_ANON_KEY: "${SUPABASE_ANON_KEY:-}",
|
|
N8N_WEBHOOK_URL: "${N8N_WEBHOOK_URL:-http://localhost:55590}"
|
|
};
|
|
EOF
|
|
exec nginx -g "daemon off;"
|