Use relative path when posting HTML forms

This commit is contained in:
Thomas Dall'Agnese
2019-12-29 20:03:37 +01:00
parent c4ad96b715
commit dc04519229
2 changed files with 2 additions and 2 deletions

View File

@@ -24,7 +24,7 @@
<div id="content">
<form id="authentication" action="./" method="post">
<form id="authentication" action="" method="post">
<h5>{{.account.username.title}}:</h5>
<input id="username" type="text" name="username" placeholder="Username" value="">

View File

@@ -24,7 +24,7 @@
<div id="content">
<form id="authentication" action="./" method="post">
<form id="authentication" action="" method="post">
<h5>{{.login.username.title}}:</h5>
<input id="username" type="text" name="username" placeholder="Username" value="">