summaryrefslogtreecommitdiff
path: root/src/http/feed.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/http/feed.go')
-rw-r--r--src/http/feed.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/http/feed.go b/src/http/feed.go
index 918eb86..deaeb80 100644
--- a/src/http/feed.go
+++ b/src/http/feed.go
@@ -3,7 +3,6 @@ package http
import (
"fmt"
"net/http"
- "path/filepath"
"github.com/gorilla/feeds"
"github.com/mediocregopher/blog.mediocregopher.com/srv/http/apiutil"
@@ -54,7 +53,7 @@ func (a *api) renderFeedHandler() http.Handler {
feed.Updated = post.LastUpdatedAt
}
- postURL := publicURL + filepath.Join("/posts", post.ID)
+ postURL := a.postURL(post.ID, true)
item := &feeds.Item{
Title: post.Title,