mirror of
https://github.com/usememos/memos.git
synced 2025-11-10 17:31:33 +08:00
chore: fix server context
This commit is contained in:
parent
2cfa4c3b76
commit
42608cdd8f
1 changed files with 1 additions and 1 deletions
|
|
@ -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" {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue