mirror of
https://framagit.org/les/gancio.git
synced 2025-01-31 16:42:22 +01:00
fix: fix host-meta RFC6415 Content-Type
This commit is contained in:
parent
cccb670cc7
commit
550ee5c317
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ router.use('/host-meta', (req, res) => {
|
|||
const settings = settingsController.settings
|
||||
|
||||
log.debug('host-meta')
|
||||
res.type('application/xml')
|
||||
res.type('application/xrd+xml')
|
||||
res.send(`<?xml version="1.0" encoding="UTF-8"?>
|
||||
<XRD xmlns="http://docs.oasis-open.org/ns/xri/xrd-1.0">
|
||||
<Link rel="lrdd" type="application/xrd+xml" template="${settings.baseurl}/.well-known/webfinger?resource={uri}"/>
|
||||
|
|
Loading…
Reference in a new issue