Skip to content

Commit

Permalink
Fix issue when uploadng
Browse files Browse the repository at this point in the history
  • Loading branch information
nodauf authored Dec 12, 2020
1 parent 04447ff commit e84e529
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/controllers/upload.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,10 @@ func UploadFile(w http.ResponseWriter, r *http.Request) {
}
data := struct {
Directory string
ServerUA string
}{
r.URL.Path,
serverUA,
}
err = renderTemplate(w , "upload.tpl", data)
if err != nil {
Expand Down

0 comments on commit e84e529

Please sign in to comment.