Tenant. SubdomainPlugConfig
(Tenant v2.0.1)
View Source
This is a struct that holds the configuration for Tenant.SubdomainPlug.
Here are the config keys allowed:
tenant_handler: function to handle the tenant param. Its return will be used as the tenant.assign: the name of the assign where we must save the tenant.endpoint: the Phoenix.Endpoint to get the host name to discover the subdomain.