mirror of
https://github.com/hanzoai/kms.git
synced 2026-10-17 11:18:16 +00:00
- Guard ZAP status check behind nil check (MPC_VAULT_ID optional) - .gitignore: /kmsd not kmsd (was blocking cmd/kmsd/ directory)
10 lines
379 B
Bash
Executable File
10 lines
379 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Configuration output file
|
|
CONFIG_FILE="runtime-config.js"
|
|
|
|
# Replace content in the config file with SENTRY_DSN interpolation
|
|
echo "window.__CONFIG__ = Object.freeze({ CAPTCHA_SITE_KEY: \"${CAPTCHA_SITE_KEY}\", CAPTCHA_SITE_KEY: \"${CAPTCHA_SITE_KEY}\", CAPTCHA_SITE_KEY: \"${CAPTCHA_SITE_KEY}\" })" > $CONFIG_FILE
|
|
|
|
echo "Configuration file updated at $CONFIG_FILE"
|