Merge branch 'master' into live
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Râu Cao 2024-09-14 16:41:01 +02:00
commit 2297c68046
Signed by: raucao
GPG Key ID: 37036C356E56CC51

View File

@ -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 } }