Move api routes to /api and add /api/sessions

This commit is contained in:
2021-04-21 17:38:47 +02:00
parent 5fa1819bea
commit 5c43bb409e
12 changed files with 66 additions and 9 deletions

View File

@ -4,7 +4,7 @@
<body>
<h1 class="title">stl</h1>
<h2>Logga in</h2>
<form action="/login" method="post">
<form action="/api/login" method="post">
<input type="password" id="password" name="password"></input>
</form>
</body>