chore: update embed frontend

This commit is contained in:
Steven
2023-12-24 01:05:15 +08:00
parent 91708da5fc
commit 88606e0a0c
11 changed files with 218 additions and 185 deletions
+1 -1
View File
@@ -90,7 +90,7 @@ func NewServer(ctx context.Context, profile *profile.Profile, store *store.Store
// Serve frontend.
frontendService := NewFrontendService(profile, store)
frontendService.Serve(e)
frontendService.Serve(ctx, e)
// In dev mode, we'd like to set the const secret key to make signin session persistence.
secret := "slash"