Multi file upload, updated styling.

This commit is contained in:
2025-08-12 15:53:36 +02:00
parent e2772a31ab
commit 406836d1dc
8 changed files with 157 additions and 68 deletions

View File

@@ -19,6 +19,7 @@ func generateID() (string, error) {
}
func HandleFileUpload(c *gin.Context) {
// Try to get a single file first (backward compatibility)
file, header, err := c.Request.FormFile("file")
if err != nil {
c.JSON(http.StatusBadRequest, gin.H{"error": "No file provided"})