From 86b50596b9a2c93eb0463ea0112372677a2da9b7 Mon Sep 17 00:00:00 2001 From: Jamil Bou Kheir Date: Wed, 29 Dec 2021 06:24:08 -0600 Subject: [PATCH] Use URL_HOST if provided --- .../lib/fz_http_web/live/device_live/show.html.heex | 4 ++-- apps/fz_http/lib/fz_http_web/live_helpers.ex | 12 ++++++++++++ config/releases.exs | 1 + 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/apps/fz_http/lib/fz_http_web/live/device_live/show.html.heex b/apps/fz_http/lib/fz_http_web/live/device_live/show.html.heex index 5685717a2..001e03f1d 100644 --- a/apps/fz_http/lib/fz_http_web/live/device_live/show.html.heex +++ b/apps/fz_http/lib/fz_http_web/live/device_live/show.html.heex @@ -133,14 +133,14 @@
<%= if @device.config_token do %> - <%= Routes.device_url(@socket, :config, @device.config_token) %> + <%= shareable_link(@socket, @device) %> <% end %>
<%= if @device.config_token do %>