We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1a04fae commit 61492e8Copy full SHA for 61492e8
1 file changed
lib/handlers/get.js
@@ -34,7 +34,7 @@ function handler (req, res, next) {
34
35
// Set live updates
36
if (ldp.live) {
37
- res.header('Updates-Via', req.protocol.replace(/^http/, 'ws') + '://' + req.get('host'))
+ res.header('Updates-Via', utils.getBaseUri(req).replace(/^http/, 'ws'))
38
}
39
40
debug(req.originalUrl + ' on ' + req.hostname)
0 commit comments