fix(bootstrap): stop overwriting bluesky enabled flag during key generations (#531)

This commit is contained in:
M0N7Y5
2026-03-02 10:11:01 +01:00
committed by GitHub
parent 77a6897180
commit de0ecc28cb
+2 -3
View File
@@ -395,8 +395,7 @@ generate_bluesky_oauth_keys() {
jq --arg kid "dev-key-1" \
--arg key_path "$key_path" \
'.auth.bluesky.enabled = true |
.auth.bluesky.logo_uri = "https://fluxerstatic.com/web/apple-touch-icon.png" |
'.auth.bluesky.logo_uri = "https://fluxerstatic.com/web/apple-touch-icon.png" |
.auth.bluesky.tos_uri = "https://fluxer.app/terms" |
.auth.bluesky.policy_uri = "https://fluxer.app/privacy" |
.auth.bluesky.token_endpoint_auth_signing_alg = "ES256" |
@@ -407,7 +406,7 @@ generate_bluesky_oauth_keys() {
if [ $? -eq 0 ]; then
mv "$temp_config" "$config_path"
info "Bluesky OAuth configured with dev key (enabled: true)"
info "Bluesky OAuth dev key configured"
else
error "Failed to update config.json with Bluesky OAuth key"
rm -f "$temp_config"