This commit is contained in:
BoHung Chiu 2022-11-19 10:58:09 +08:00
parent 3b1b672cfe
commit a6d86767b0
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ class WebLink
tmp = self.url_translations[locale]
temp_url[locale] = tmp
unless tmp.match(/^http(s|):\/\//) || tmp.blank? || tmp.start_with?('/')
temp_url[locale] = 'http://' + tmp
temp_url[locale] = 'https://' + tmp
end
end
self.url_translations = temp_url