Fix custom domain showing up for the wrong reason (#3324)

pull/3325/head
hq1 3 years ago committed by GitHub
parent a1be27eea6
commit 5ff8526844
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -245,10 +245,12 @@ defmodule PlausibleWeb.SiteController do
end
def settings_props(conn, _params) do
site = conn.assigns[:site] |> Repo.preload(:custom_domain)
conn
|> assign(:skip_plausible_tracking, true)
|> render("settings_props.html",
site: conn.assigns.site,
site: site,
layout: {PlausibleWeb.LayoutView, "site_settings.html"},
connect_live_socket: true
)

Loading…
Cancel
Save