FIX: add http:// to feed_polling_url if it's missing
This commit is contained in:
parent
f8ae2f5378
commit
4e857bfa12
|
@ -49,6 +49,7 @@ module Jobs
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
@feed_url = SiteSetting.feed_polling_url
|
@feed_url = SiteSetting.feed_polling_url
|
||||||
|
@feed_url = "http://#{@feed_url}" if @feed_url !~ /^https?\:\/\//
|
||||||
end
|
end
|
||||||
|
|
||||||
def topics
|
def topics
|
||||||
|
|
Loading…
Reference in New Issue