mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 18:18:55 +00:00
Why: * The Swagger UI is currently served from the API application. This means that the Web application does not have access to the external URL in the API configuration during/after compilation. Without the API external URL, we cannot generate a proper link in the portal to the Swagger UI. This commit refactors how the API external URL is set from the environment variables and allows the Web app to have access to the value of the API URL. Co-authored-by: Jamil <jamilbk@users.noreply.github.com>
Web
To start your Phoenix server:
- Run
mix setupto install and setup dependencies - Start Phoenix endpoint with
mix phx.serveror inside IEx withiex -S mix phx.server
Now you can visit localhost:4000 from your browser.
Ready to run in production? Please check our deployment guides.
Learn more
- Official website: https://www.phoenixframework.org/
- Guides: https://hexdocs.pm/phoenix/overview.html
- Docs: https://hexdocs.pm/phoenix
- Forum: https://elixirforum.com/c/phoenix-forum
- Source: https://github.com/phoenixframework/phoenix