Skip to content

armgit / memos

Public Imported from GitHub
0

Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.

chore: fix server context

Steven42608cdd8fcc
diff --git a/server/server.go b/server/server.go
index 9aabb27e4..5d7ced4f0 100644
--- a/server/server.go
+++ b/server/server.go
@@ -75,7 +75,7 @@ func NewServer(ctx context.Context, profile *profile.Profile, store *store.Store
// Register frontend service.
frontendService := frontend.NewFrontendService(profile, store)
- frontendService.Serve(e)
+ frontendService.Serve(ctx, e)
secret := "usememos"
if profile.Mode == "prod" {