Skip to content

Commit

Permalink
chore: update plausible and cleanup router
Browse files Browse the repository at this point in the history
  • Loading branch information
zachdaniel committed Jan 16, 2025
1 parent 841d651 commit 0fb5276
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
7 changes: 0 additions & 7 deletions lib/ash_hq_web/router.ex
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,10 @@ defmodule AshHqWeb.Router do
plug(:basic_auth)
end

# scope "/", host: "new." do
# get("/:name", AshHqWeb.NewController, :new)
# end

# if Mix.env() == :dev do
scope "/new" do
get("/:name", AshHqWeb.NewController, :new)
end

# end

scope "/", AshHqWeb do
pipe_through(:browser)
get "/", HomeController, :home
Expand Down
4 changes: 2 additions & 2 deletions lib/ash_hq_web/templates/layout/root.html.heex
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
{assigns[:page_title] || "Ash Framework"}
</.live_title>
<%= if Application.get_env(:ash_hq, :analytics?) do %>
<script defer data-domain="ash-hq.org" src="https://plausible.io/js/plausible.js">
</script>
<script defer data-domain="ash-hq.org" src="https://plausible.io/js/script.outbound-links.js"></script>
<script>window.plausible = window.plausible || function() { (window.plausible.q = window.plausible.q || []).push(arguments) }</script>
<% end %>

<meta property="og:type" content="text/html" />
Expand Down

0 comments on commit 0fb5276

Please sign in to comment.