This commit is contained in:
BoHung Chiu 2022-11-19 10:58:21 +08:00
parent f174bf290f
commit 4ff65bb079
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ class BulletinLink
def add_http
tmp = self.url
unless tmp.match(/^http(s|):\/\//) || tmp.blank? || tmp.start_with?('/')
self.url = 'http://' + tmp
self.url = 'https://' + tmp
end
end