mirror of
https://github.com/go-gitea/gitea.git
synced 2025-08-26 02:22:52 +09:00
Merge branch 'main' into feature/bots
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user