Quantcast
Channel: Change phoenix endpoint url host at runtime - Stack Overflow
Browsing latest articles
Browse All 3 View Live

Answer by Everett for Change phoenix endpoint url host at runtime

The master_proxy package offers some useful tools to support multiple sites.

View Article



Answer 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 Article

Change 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
Browsing latest articles
Browse All 3 View Live




Latest Images