mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
fix(portal): Temporarily revert verified routes for API UI (#6185)
This temporarily reverts commit
d1703d2849.
The long term fix will be to have the API URL be set by environment
variables, but in the interest of time it will be hardcoded for now.
---------
Signed-off-by: Jamil <jamilbk@users.noreply.github.com>
Co-authored-by: Jamil <jamilbk@users.noreply.github.com>
This commit is contained in:
@@ -25,7 +25,7 @@ defmodule Web.Settings.ApiClients.Beta do
|
||||
<:title><%= @page_title %></:title>
|
||||
<:help>
|
||||
API Clients are used to manage Firezone configuration through a REST API. See our
|
||||
<a class={link_style()} href={url(API.Endpoint, ~p"/swaggerui")}>interactive API docs</a>
|
||||
<a class={link_style()} href="https://api.firezone.dev/swaggerui">interactive API docs</a>
|
||||
</:help>
|
||||
<:content>
|
||||
<.flash kind={:info}>
|
||||
|
||||
@@ -56,7 +56,7 @@ defmodule Web.Settings.ApiClients.Index do
|
||||
<:title><%= @page_title %></:title>
|
||||
<:help>
|
||||
API Clients are used to manage Firezone configuration through a REST API. See our
|
||||
<.link navigate={url(API.Endpoint, ~p"/swaggerui")} class={link_style()}>
|
||||
<.link navigate="https://api.firezone.dev/swaggerui" class={link_style()}>
|
||||
OpenAPI-powered docs
|
||||
</.link>
|
||||
for more information.
|
||||
|
||||
Reference in New Issue
Block a user