Fix: cookie timeout
All checks were successful
All checks were successful
This commit is contained in:
@@ -101,6 +101,7 @@ var serveCmd = &cobra.Command{
|
||||
Use(middlewares.AccessLog).
|
||||
Use(middlewares.CORSHandler)
|
||||
|
||||
backend.OPTIONS("/*any", utils.GetHealthz)
|
||||
backend.GET("/healthz", utils.GetHealthz)
|
||||
|
||||
apiGroup := backend.NewGroup("/api").
|
||||
@@ -136,6 +137,8 @@ var serveCmd = &cobra.Command{
|
||||
func init() {
|
||||
serveCmd.Flags().
|
||||
String("port", "8080", "Port to listen on")
|
||||
serveCmd.Flags().
|
||||
Bool("https", false, "Enable https mode")
|
||||
serveCmd.Flags().
|
||||
String("external-url", "http://localhost:8080", "External url for login")
|
||||
serveCmd.Flags().
|
||||
|
||||
Reference in New Issue
Block a user