mirror of
https://github.com/yourselfhosted/slash.git
synced 2025-06-05 22:09:34 +02:00
feat: implement frontend ssr service
This commit is contained in:
@@ -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