Merge branch 'master' into live
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
commit
2297c68046
@ -12,7 +12,7 @@ class WellKnownController < ApplicationController
|
|||||||
if params[:name] == "_"
|
if params[:name] == "_"
|
||||||
if domain == Setting.primary_domain
|
if domain == Setting.primary_domain
|
||||||
# pubkey for the primary domain without a username (e.g. kosmos.org)
|
# pubkey for the primary domain without a username (e.g. kosmos.org)
|
||||||
res = { names: { "_": Setting.nostr_public_key_primary_domain || Setting.nostr_public_key } }
|
res = { names: { "_": Setting.nostr_public_key_primary_domain.presence || Setting.nostr_public_key } }
|
||||||
else
|
else
|
||||||
# pubkey for the akkounts domain without a username (e.g. accounts.kosmos.org)
|
# pubkey for the akkounts domain without a username (e.g. accounts.kosmos.org)
|
||||||
res = { names: { "_": Setting.nostr_public_key } }
|
res = { names: { "_": Setting.nostr_public_key } }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user