-
Notifications
You must be signed in to change notification settings - Fork 5.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix frontend redirect #2544
Fix frontend redirect #2544
Conversation
d9b1594
to
4e749fc
Compare
server/server.go
Outdated
if s.globalConfiguration.EntryPoints[entryPoint.Redirect.EntryPoint] == nil { | ||
return "", "", fmt.Errorf("unknown target entrypoint %q", entryPoint.Redirect.EntryPoint) | ||
func (s *Server) buildRedirect(entryPointName string) (string, string, error) { | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please remove this line ?
4e749fc
to
1146715
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
1146715
to
226b145
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👏
e4e0e7d
to
2c1836c
Compare
What does this PR do?
Fixes frontend redirect when entry point doesn't contain redirect definition.
Motivation
Fixes #2540
Related to #2133
More
Additional Notes