From 42608cdd8fcc76388b066a044b4cf832e5835de4 Mon Sep 17 00:00:00 2001 From: Steven Date: Sat, 23 Dec 2023 17:59:15 +0800 Subject: [PATCH] chore: fix server context --- server/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/server.go b/server/server.go index 9aabb27e..5d7ced4f 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" {