mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
No checking for missing A/CNAME records
This commit is contained in:
parent
9981a08175
commit
07d7ad237c
1 changed files with 4 additions and 4 deletions
|
@ -128,11 +128,11 @@ post '/settings/:username/custom_domain' do
|
|||
flash[:error] = 'Domain needs to be valid and already registered.'
|
||||
redirect "/settings/#{@site.username}#custom_domain"
|
||||
elsif e.message =~ /No address associated with hostname/i
|
||||
flash[:error] = "The domain isn't setup to use Neocities yet, cannot add. Please make the A and CNAME record changes where you registered your domain."
|
||||
redirect "/settings/#{@site.username}#custom_domain"
|
||||
#flash[:error] = "The domain isn't setup to use Neocities yet, cannot add. Please make the A and CNAME record changes where you registered your domain."
|
||||
#redirect "/settings/#{@site.username}#custom_domain"
|
||||
else
|
||||
raise e
|
||||
end
|
||||
|
||||
raise e
|
||||
end
|
||||
|
||||
if @site.valid?
|
||||
|
|
Loading…
Add table
Reference in a new issue