Merge branch 'main' into feature/bots

This commit is contained in:
Jason Song authored and GitHub committed 2022-12-02 09:42:42 +08:00
commit 9bd773eb85
5 files changed
+33 -6

No files matched your search

+4
View File
@@ -178,6 +178,10 @@ func initAttachments() (err error) {
}
func initLFS() (err error) {
if !setting.LFS.StartServer {
LFS = discardStorage("LFS isn't enabled")
return nil
}
log.Info("Initialising LFS storage with type: %s", setting.LFS.Storage.Type)
LFS, err = NewStorage(setting.LFS.Storage.Type, &setting.LFS.Storage)
return err