mirror of
https://github.com/Forceu/Gokapi.git
synced 2026-02-19 15:08:34 -06:00
Fixed setup if no config directory exists
Remove temp files after upload Set temp directory for docker to data directory by default #37 Increase default memory to 40 Added TMPDIR env Update doc
This commit is contained in:
@@ -34,9 +34,9 @@ func Process(w http.ResponseWriter, r *http.Request, isWeb bool, maxMemory int)
|
||||
}
|
||||
defer file.Close()
|
||||
_, err = io.WriteString(w, result.ToJsonResult(config.ExternalUrl))
|
||||
if err != nil {
|
||||
helper.Check(err)
|
||||
}
|
||||
helper.Check(err)
|
||||
err = r.MultipartForm.RemoveAll()
|
||||
helper.Check(err)
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user