mirror of
https://github.com/Forceu/Gokapi.git
synced 2026-01-06 08:59:37 -06:00
Fixed upload not working when using suburl #20
This commit is contained in:
@@ -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() {
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
{{define "app_name"}}Gokapi{{end}}
|
||||
{{define "version"}}1.3.0{{end}}
|
||||
{{define "version"}}1.3.1-dev{{end}}
|
||||
|
||||
Reference in New Issue
Block a user