aboutsummaryrefslogtreecommitdiff
path: root/vnext
diff options
context:
space:
mode:
Diffstat (limited to 'vnext')
-rw-r--r--vnext/server/middleware/host-meta.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/vnext/server/middleware/host-meta.js b/vnext/server/middleware/host-meta.js
index fe6ca631..0bca925a 100644
--- a/vnext/server/middleware/host-meta.js
+++ b/vnext/server/middleware/host-meta.js
@@ -8,10 +8,7 @@ const baseURL = config.get('service.baseURL')
*/
export const xmlMeta = async (_req, res) => {
return res.set('Content-Type', 'text/xml')
- .send(`<?xml version="1.0" encoding="UTF-8"?>
- <XRD xmlns="http://docs.oasis-open.org/ns/xri/xrd-1.0">
- <Link rel="lrdd" template="${baseURL}/.well-known/webfinger?resource={uri}"/>
- </XRD>`)
+ .send(`<?xml version="1.0" encoding="UTF-8"?><XRD xmlns="http://docs.oasis-open.org/ns/xri/xrd-1.0"><Link rel="lrdd" template="${baseURL}/.well-known/webfinger?resource={uri}"/></XRD>`)
}
/**