mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: fix server context
This commit is contained in:
@@ -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" {
|
||||||
|
Reference in New Issue
Block a user