Changeset 44 in code for trunk/partage.go


Ignore:
Timestamp:
Oct 20, 2021, 8:33:06 AM (4 years ago)
Author:
dev
Message:

Change form file attribute to "file"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/partage.go

    r43 r44  
    171171
    172172        links := []string{}
    173         for _, h := range r.MultipartForm.File["uck"] {
     173        for _, h := range r.MultipartForm.File["file"] {
    174174                if h.Size > conf.maxsize {
    175175                        http.Error(w, "File is too big", http.StatusRequestEntityTooLarge)
Note: See TracChangeset for help on using the changeset viewer.