From 1fbd63419355e8ddd482c3cb62641bed1366763b Mon Sep 17 00:00:00 2001 From: href Date: Thu, 2 Sep 2021 08:06:50 +0200 Subject: Phoenix 1.6rc0 & Use proper Esbuild/Tailwind/Npm --- lib/lsg_web/endpoint.ex | 4 ++-- lib/lsg_web/templates/layout/app.html.eex | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'lib/lsg_web') diff --git a/lib/lsg_web/endpoint.ex b/lib/lsg_web/endpoint.ex index e89dc12..37f7e84 100644 --- a/lib/lsg_web/endpoint.ex +++ b/lib/lsg_web/endpoint.ex @@ -8,8 +8,8 @@ defmodule LSGWeb.Endpoint do # You should set gzip to true if you are running phoenix.digest # when deploying your static files in production. plug Plug.Static, - at: "/assets", from: :lsg, gzip: false, - only: ~w(css fonts images js favicon.ico robots.txt) + at: "/", from: :lsg, gzip: false, + only: ~w(assets css js fonts images favicon.ico robots.txt) # Code reloading can be explicitly enabled under the # :code_reloader configuration of your endpoint. diff --git a/lib/lsg_web/templates/layout/app.html.eex b/lib/lsg_web/templates/layout/app.html.eex index 9e78e8e..9ad05a6 100644 --- a/lib/lsg_web/templates/layout/app.html.eex +++ b/lib/lsg_web/templates/layout/app.html.eex @@ -8,7 +8,8 @@ <%= Map.get(assigns, :title, "") %> - "> + "> + @@ -132,13 +133,12 @@
- <%= render @view_module, @view_template, assigns %> + <%= @inner_content %>
- -- cgit v1.2.3