auth_plug v0.8.0 AuthPlug.Helpers

Link to this section Summary

Link to this section Functions

Link to this function

get_baseurl_from_conn(map)

get_baseurl_from_conn(Map) :: String.t()

get_baseurl_from_conn/1 derives the base URL from the conn struct e.g: http://localhost:4000 or https://app.dwyl.com