Fixed upload not working when using suburl #20

This commit is contained in:
Marc Ole Bulling
2021-06-04 14:13:57 +02:00
parent 8d786df90a
commit 5068b742aa
3 changed files with 4 additions and 4 deletions

View File

@@ -22,9 +22,9 @@ import (
// Version is the current version in readable form.
// The go generate call below needs to be modified as well
const Version = "1.3.0"
const Version = "1.3.1-dev"
//go:generate sh "../../build/setVersionTemplate.sh" "1.3.0"
//go:generate sh "../../build/setVersionTemplate.sh" "1.3.1-dev"
// Main routine that is called on startup
func main() {

View File

@@ -7,7 +7,7 @@
<div class="card-body">
<h3 class="card-title">Upload</h3>
<br>
<p class="card-text"><form action="/upload"
<p class="card-text"><form action="./upload"
class="dropzone"
id="uploaddropzone"></form></p><br>

View File

@@ -1,2 +1,2 @@
{{define "app_name"}}Gokapi{{end}}
{{define "version"}}1.3.0{{end}}
{{define "version"}}1.3.1-dev{{end}}