chore: fix server context

This commit is contained in:
Steven
2023-12-23 17:59:15 +08:00
parent 2cfa4c3b76
commit 42608cdd8f

View File

@@ -75,7 +75,7 @@ func NewServer(ctx context.Context, profile *profile.Profile, store *store.Store
// Register frontend service. // Register frontend service.
frontendService := frontend.NewFrontendService(profile, store) frontendService := frontend.NewFrontendService(profile, store)
frontendService.Serve(e) frontendService.Serve(ctx, e)
secret := "usememos" secret := "usememos"
if profile.Mode == "prod" { if profile.Mode == "prod" {