aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/static.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-06-07 14:34:11 +0200
committerChocobozzz <me@florianbigard.com>2019-06-07 14:35:53 +0200
commit03371ad9d049bab79445a1b35da44cb1272f6c28 (patch)
tree8d6a8332e24833aa8a9e514489553dccf11891d1 /server/controllers/static.ts
parente5b432e04e6aa967fdea38ce38de959cdcc22b4d (diff)
downloadPeerTube-03371ad9d049bab79445a1b35da44cb1272f6c28.tar.gz
PeerTube-03371ad9d049bab79445a1b35da44cb1272f6c28.tar.zst
PeerTube-03371ad9d049bab79445a1b35da44cb1272f6c28.zip
Fix video import if autoblacklist is enabled
Diffstat (limited to 'server/controllers/static.ts')
-rw-r--r--server/controllers/static.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/controllers/static.ts b/server/controllers/static.ts
index 73951be2d..fb2e7742a 100644
--- a/server/controllers/static.ts
+++ b/server/controllers/static.ts
@@ -158,7 +158,7 @@ staticRouter.use('/.well-known/change-password',
158 158
159staticRouter.use('/.well-known/host-meta', 159staticRouter.use('/.well-known/host-meta',
160 (_, res: express.Response) => { 160 (_, res: express.Response) => {
161 res.type('application/xml'); 161 res.type('application/xml')
162 162
163 const xml = '<?xml version="1.0" encoding="UTF-8"?>\n' + 163 const xml = '<?xml version="1.0" encoding="UTF-8"?>\n' +
164 '<XRD xmlns="http://docs.oasis-open.org/ns/xri/xrd-1.0">\n' + 164 '<XRD xmlns="http://docs.oasis-open.org/ns/xri/xrd-1.0">\n' +