This commit is contained in:
bohung committed 2022-11-19 10:58:21 +08:00
1 parent f174bf290f
commit 4ff65bb079
1 file changed
+1 -1
+1 -1
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