Answer by Everett for Change phoenix endpoint url host at runtime
The master_proxy package offers some useful tools to support multiple sites.
View ArticleAnswer by Mac for Change phoenix endpoint url host at runtime
Wouldn't it just be a value you assign the :to keyword in the redirect?def index(conn, params) do redirect conn, to: params[:location] # or whateverend
View ArticleChange phoenix endpoint url host at runtime
Does anyone know of a way of changing the :host of the Phoenix application endpoint dynamically on every request?Specifically to support multiple domains on a single phoenix app, i want to change the...
View Article
More Pages to Explore .....