Commit 579535f0 authored by mh's avatar mh
Browse files

introduce new onion url

parent 08040fdb
......@@ -63,8 +63,8 @@ class HandoffLoginController < LoginController
def handoff_url
case @handoff
when 'webmail'
if request.host =~ /ysp4gfuhnmj6b4mb\.onion/
'https://webmail.ysp4gfuhnmj6b4mb.onion/'
if (request.host =~ /w5ejy7xyv4dw7jul7bycfnltircxddt7vqprcxe6uggnezlwwic72qqd\.onion/) || (request.host =~ /ysp4gfuhnmj6b4mb\.onion/)
'https://webmail.w5ejy7xyv4dw7jul7bycfnltircxddt7vqprcxe6uggnezlwwic72qqd.onion/'
else
if @handoff_instance
"https://horde-prod-#{@handoff_instance}.immerda.ch/"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment