akkounts: Configure the Blossom server URL in production
The app reads NOSTR_BLOSSOM_SERVER_URL (used for the Nostr profile media editor). Default it to nil like the other nostr attributes and set it to https://blossom.kosmos.org in the production environment.
This commit is contained in:
4 files changed
+5
-1
No files matched your search
@@ -15,7 +15,8 @@
|
||||
},
|
||||
"nostr": {
|
||||
"public_key": "b3e1b7c1660b7db0ecb93ec55c09e67961171a5c4e9e2602f1b47477ea61c50a",
|
||||
"relay_url": "wss://nostr.kosmos.org"
|
||||
"relay_url": "wss://nostr.kosmos.org",
|
||||
"blossom_server_url": "https://blossom.kosmos.org"
|
||||
}
|
||||
},
|
||||
"blossom": {
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
fixes (RCE-capable, see https://www.ruby-lang.org/en/news/2026/11/18/multiple-vulnerabilities-in-regexp-and-string/).
|
||||
- Disable Sentry while its host is down: with no DSN in the app environment,
|
||||
the app skips Sentry.init and makes no requests to it.
|
||||
- Pass the Blossom server URL to the app environment.
|
||||
|
||||
# 0.4.0
|
||||
|
||||
|
||||
@@ -23,6 +23,7 @@ node.default['akkounts']['lndhub']['postgres_db'] = 'lndhub'
|
||||
|
||||
node.default['akkounts']['nostr']['public_key'] = nil
|
||||
node.default['akkounts']['nostr']['relay_url'] = nil
|
||||
node.default['akkounts']['nostr']['blossom_server_url'] = nil
|
||||
|
||||
node.default['akkounts']['s3_enabled'] = true
|
||||
node.default['akkounts']['s3_endpoint'] = "https://s3.kosmos.org"
|
||||
|
||||
@@ -204,6 +204,7 @@ env[:mediawiki_public_url] = node['mediawiki']['url']
|
||||
env[:nostr_private_key] = credentials['nostr_private_key']
|
||||
env[:nostr_public_key] = node['akkounts']['nostr']['public_key']
|
||||
env[:nostr_relay_url] = node['akkounts']['nostr']['relay_url']
|
||||
env[:nostr_blossom_server_url] = node['akkounts']['nostr']['blossom_server_url']
|
||||
|
||||
#
|
||||
# remoteStorage / Liquor Cabinet
|
||||
|
||||
Reference in new issue
Block a user