ensure that the atproto dns record gets removed when updating the new record in .well-known

This commit is contained in:
Kyle Drake 2024-12-13 17:16:13 -06:00
parent 16fb3444fa
commit a854244c33

View file

@ -201,6 +201,7 @@ post '/settings/:username/bluesky_set_did' do
tmpfile.close tmpfile.close
@site.store_files [{filename: '.well-known/atproto-did', tempfile: tmpfile}] @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.' flash[:success] = 'DID set! You can now verify the handle on the Bluesky app.'
end end