aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/serve.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/serve.js b/lib/serve.js
index 50bfff2..a06f566 100644
--- a/lib/serve.js
+++ b/lib/serve.js
@@ -215,7 +215,7 @@ Serve.prototype.go = function () {
var u = Url.parse(self.req.url)
var q = u.query || (u.query = {})
q.published = publishedMsg.key
- self.redirect(Url.format(u))
+ self.redirect(self.app.render.toUrl(Url.format(u)))
}
} else {
self.handle()