mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-06 11:27:07 +00:00
feat: updated frontend use run time config inject value
This commit is contained in:
Executable
+9
@@ -0,0 +1,9 @@
|
||||
#!/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"
|
||||
Reference in New Issue
Block a user