Closed mcbain closed 8 years ago
The redirect always contains https protocol - local testing impossible. The request-protocol or the secure setting from config should be considered to be used.
utils.js
[109] const self_url = (host, path) => url.format({ protocol: 'https', host: host, pathname: path }); [120] const return_url = self_url(req.headers.host, request_url.pathname);
Thanks for opening an issue for this @mcbain . This is actually a duplicate of https://github.com/rethinkdb/horizon/issues/508 .
The redirect always contains https protocol - local testing impossible. The request-protocol or the secure setting from config should be considered to be used.
utils.js