aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorcel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2017-04-20 13:42:39 -0700
committercel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2017-04-20 13:42:39 -0700
commit014985f9272b4c9f82d8d3a48d92e491f875cbf7 (patch)
tree81b5972b1d845e84cc4dc2a087c558a5ff3af7c6 /lib
parent7abd3c86b311b5fd35fbf76f50004c7300069a3a (diff)
downloadpatchfoo-014985f9272b4c9f82d8d3a48d92e491f875cbf7.tar.gz
patchfoo-014985f9272b4c9f82d8d3a48d92e491f875cbf7.zip
Handle link rel
Diffstat (limited to 'lib')
-rw-r--r--lib/serve.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/serve.js b/lib/serve.js
index f9c954c..ce37490 100644
--- a/lib/serve.js
+++ b/lib/serve.js
@@ -513,6 +513,7 @@ Serve.prototype.links = function (path) {
reverse: true,
values: true,
}
+ if (q.rel) opts.rel = q.rel
pull(
this.app.sbot.links(opts),