From a854244c339219b812bd0cd2fe11abdf93f00d95 Mon Sep 17 00:00:00 2001 From: Kyle Drake Date: Fri, 13 Dec 2024 17:16:13 -0600 Subject: [PATCH] ensure that the atproto dns record gets removed when updating the new record in .well-known --- app/settings.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/settings.rb b/app/settings.rb index c400cfed..7bc4b9f2 100644 --- a/app/settings.rb +++ b/app/settings.rb @@ -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