aboutsummaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
Diffstat (limited to 'models')
-rw-r--r--models/feed/feed.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/models/feed/feed.go b/models/feed/feed.go
index 0a043f2..70b939a 100644
--- a/models/feed/feed.go
+++ b/models/feed/feed.go
@@ -155,5 +155,10 @@ func ResolveFeedURL(url string) string {
if f == "" {
f = url
}
+
+ // if we don't start with http[s] its probably relative
+ if f[0] != 'h' {
+ f = url + f
+ }
return f
}