Commit 50ba37856bdd65f446d41aafa0d79b117ece28a0

Thomas de Grivel 2024-10-12T18:22:35

use basic app.css and app.js file names

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff --git a/lib/kmxgit_web/templates/layout/root.html.heex b/lib/kmxgit_web/templates/layout/root.html.heex
index 5d5d938..143654a 100644
--- a/lib/kmxgit_web/templates/layout/root.html.heex
+++ b/lib/kmxgit_web/templates/layout/root.html.heex
@@ -10,8 +10,7 @@
     <% else %>
       <%= live_title_tag "kmx git" %>
     <% end %>
-    <link phx-track-static rel="stylesheet" href={Routes.static_path(@conn, "/_assets/app.css")}/>
-    <script defer phx-track-static type="text/javascript" src={Routes.static_path(@conn, "/_assets/app.js")}></script>
+    <link rel="stylesheet" href="/_assets/app.css"/>
     <link rel="icon" type="image/png" sizes="128x128" href="/_images/kmxgit.logo.black.128.png">
     <link rel="icon" type="image/png" sizes="64x64" href="/_images/kmxgit.logo.black.64.png">
     <link rel="icon" type="image/png" sizes="32x32" href="/_images/kmxgit.logo.black.32.png">
@@ -22,5 +21,6 @@
     <%= render "flash.html", assigns %>
     <%= @inner_content %>
     <%= render "footer.html", assigns %>
+    <script type="text/javascript" src="/_assets/app.js"></script>
   </body>
 </html>