changeset 20:c6f15ffef3d3

Fix more absolute paths
author Lewin Bormann <lbo@spheniscida.de>
date Mon, 11 Jul 2022 20:25:46 -0700
parents b9f49b4630be
children 64eae1262165
files assets/index.html.hbs assets/login.html.hbs
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/assets/index.html.hbs	Mon Jul 11 20:17:02 2022 -0700
+++ b/assets/index.html.hbs	Mon Jul 11 20:25:46 2022 -0700
@@ -2,7 +2,7 @@
 <html>
     <head>
         <title>Analyrics Login</title>
-        <script src="/static/chart.min.js" type="application/javascript"></script>
+        <script src="static/chart.min.js" type="application/javascript"></script>
 
         <style>
             #logo { color: #22bb22; font-size: 20pt; font-style: bold; }
--- a/assets/login.html.hbs	Mon Jul 11 20:17:02 2022 -0700
+++ b/assets/login.html.hbs	Mon Jul 11 20:25:46 2022 -0700
@@ -5,7 +5,7 @@
     <body>
 {{#if flash}}<div class="flash">{{flash}}</div>{{/if}}
 
-        <form action="/login" method="POST">
+        <form action="" method="POST">
             <label>User name: </label><input type="text" name="username" />
             <label>Password: </label><input type="text" name="password" />
             <input type="submit" value="Log in" />