Currently urls are built using localhost unless --api-host is explicitly passed. It would be nice if franklin inspected the Host header of incoming requests and used the value (if present) as the domain in the constructed url. This would allow a single franklin instance to be hosted under multiple domain names, among other deployment scenarios.
Currently urls are built using
localhostunless--api-hostis explicitly passed. It would be nice if franklin inspected theHostheader of incoming requests and used the value (if present) as the domain in the constructed url. This would allow a single franklin instance to be hosted under multiple domain names, among other deployment scenarios.