mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 01:32:36 +02:00
add www records for redis
This commit is contained in:
parent
dbc47f0586
commit
b3b30d1b58
1 changed files with 2 additions and 0 deletions
|
@ -915,7 +915,9 @@ class Site < Sequel::Model
|
|||
|
||||
unless domain_record.empty?
|
||||
$redis_proxy.mapped_hmset "d-#{values[:domain]}", domain_record
|
||||
$redis_proxy.mapped_hmset "d-www.#{values[:domain]}", domain_record
|
||||
$redis_proxy.del "d-#{@old_domain}" if @old_domain
|
||||
$redis_proxy.del "d-www.#{@old_domain}" if @old_domain
|
||||
end
|
||||
|
||||
true
|
||||
|
|
Loading…
Add table
Reference in a new issue