🐛 Provide a way to bypass nexus and serving content to prevent nexus reverse proxy issue

This commit is contained in:
2024-11-06 23:01:29 +08:00
parent 2f99ac7b6e
commit c41f8b77ce
9 changed files with 6460 additions and 636 deletions

View File

@@ -241,7 +241,7 @@ func AnalyzeAttachment(file models.Attachment) error {
// Move temporary to permanent
if !linked {
if err := ReUploadFileToPermanent(file); err != nil {
if err := ReUploadFileToPermanent(file, 1); err != nil {
return fmt.Errorf("unable to move file to permanet storage: %v", err)
}
}