Commit cff79d02 authored by Randall Leeds's avatar Randall Leeds

Use the server_name for local id authority

The dev server now explicitly listens on localhost. That means that
if you wish to expose this publicly you will need to set up a public-
facing proxy server, such as nginx, or create/modify a .ini file.

The Procfile still uses 0.0.0.0, which means that pyramid will fall
back to reading the HTTP Host header for the server name. In Procfile
deployments like heroku and dokku it is assumed that this header is
trusted and fixed in upstream reverse proxies.

Fixes #497.
parent 210d68d6
......@@ -44,7 +44,7 @@ class ClauseParser
value = parts[1][operator.length..]
operator_found = true
if field is 'user'
value = 'acct:' + value + '@' + window.location.hostname + ':' + window.location.port
value = 'acct:' + value + '@' + window.location.hostname
break
unless operator_found
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment