update database file, add tika host config

This commit is contained in:
RockYang
2024-07-12 18:10:32 +08:00
parent d1965deff1
commit 596cb2b206
19 changed files with 1087 additions and 89 deletions

View File

@@ -36,7 +36,7 @@ func (h *UploadHandler) Upload(c *gin.Context) {
return
}
logger.Info("upload file: %s", file.Name)
logger.Info("upload file: ", file.Name)
// cut the file name if it's too long
if len(file.Name) > 100 {
file.Name = file.Name[:90] + file.Ext