👔 Redirect / to /v
This commit is contained in:
parent
48328e7db2
commit
538f640538
1 changed files with 1 additions and 2 deletions
|
@ -36,8 +36,7 @@ func Serve(bindAddr string) error {
|
|||
}
|
||||
|
||||
func handleIndex(ctx echo.Context) error {
|
||||
// return ctx.Redirect(http.StatusTemporaryRedirect, "/v")
|
||||
return ctx.String(200, ctx.Request().Header.Get("X-Remote-User"))
|
||||
return ctx.Redirect(http.StatusTemporaryRedirect, "/v")
|
||||
}
|
||||
|
||||
func handleNewVoting(ctx echo.Context) error {
|
||||
|
|
Loading…
Reference in a new issue