mirror of
https://github.com/aykhans/slash-e.git
synced 2026-09-24 23:06:48 +00:00
feat: implement frontend ssr service
This commit is contained in:
+3
-1
@@ -90,7 +90,9 @@ func NewServer(ctx context.Context, profile *profile.Profile, store *store.Store
|
||||
},
|
||||
}))
|
||||
|
||||
embedFrontend(e)
|
||||
// Serve frontend.
|
||||
frontendService := NewFrontendService(profile, store)
|
||||
frontendService.Serve(e)
|
||||
|
||||
// In dev mode, we'd like to set the const secret key to make signin session persistence.
|
||||
secret := "slash"
|
||||
|
||||
Reference in New Issue
Block a user