mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 01:32:36 +02:00
ensure that the atproto dns record gets removed when updating the new record in .well-known
This commit is contained in:
parent
16fb3444fa
commit
a854244c33
1 changed files with 1 additions and 0 deletions
|
@ -201,6 +201,7 @@ post '/settings/:username/bluesky_set_did' do
|
|||
tmpfile.close
|
||||
|
||||
@site.store_files [{filename: '.well-known/atproto-did', tempfile: tmpfile}]
|
||||
$redis_proxy.hdel "dns-_atproto.#{@site.username}.neocities.org", 'TXT'
|
||||
flash[:success] = 'DID set! You can now verify the handle on the Bluesky app.'
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue