mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
FIX: add http:// to feed_polling_url if it's missing
This commit is contained in:
parent
f8ae2f5378
commit
4e857bfa12
1 changed files with 1 additions and 0 deletions
|
@ -49,6 +49,7 @@ module Jobs
|
|||
|
||||
def initialize
|
||||
@feed_url = SiteSetting.feed_polling_url
|
||||
@feed_url = "http://#{@feed_url}" if @feed_url !~ /^https?\:\/\//
|
||||
end
|
||||
|
||||
def topics
|
||||
|
|
Loading…
Reference in a new issue