diff options
| author | Marin Ivanov <[email protected]> | 2025-06-27 19:39:27 +0300 |
|---|---|---|
| committer | Marin Ivanov <[email protected]> | 2025-06-27 19:39:27 +0300 |
| commit | 676c2d47ea03dd531c550c502cc43761e436a680 (patch) | |
| tree | 1bd68a12365e9caee8abc74c7891721ea974302a /main.go | |
| parent | 9608d6c132df1accbd67d8e04657928d2018c3ca (diff) | |
increase upload limit to 83MB
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -103,7 +103,7 @@ func (s *Server) createRandomFilename(ext string) (*os.File, string, error) { } func (s *Server) formPost(w http.ResponseWriter, r *http.Request) { - r.ParseMultipartForm(10 << 20) // 10MB + r.ParseMultipartForm(10 << 23) // 83MB mimeType := r.Form.Get("mimetype") ext := "" |
