mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
feat: add support for auto backup db file (#1950)
Add support for auto backup db file
This commit is contained in:
@@ -103,6 +103,7 @@ func (s *Server) Start(ctx context.Context) error {
|
||||
}
|
||||
|
||||
go s.telegramBot.Start(ctx)
|
||||
go autoBackup(ctx, s.Store)
|
||||
|
||||
return s.e.Start(fmt.Sprintf(":%d", s.Profile.Port))
|
||||
}
|
||||
|
Reference in New Issue
Block a user