mirror of
https://github.com/pomerium/pomerium.git
synced 2025-07-31 07:19:16 +02:00
authenticate: redirect / to /.pomerium/ (#2770)
This commit is contained in:
parent
d90d4caf1a
commit
a5034aabae
3 changed files with 5 additions and 2 deletions
|
@ -110,7 +110,7 @@ func (b *Builder) buildPomeriumHTTPRoutes(options *config.Options, domain string
|
|||
return nil, err
|
||||
}
|
||||
if config.IsAuthenticate(options.Services) && hostMatchesDomain(authenticateURL, domain) {
|
||||
r, err := b.buildControlPlanePathRoute(options.AuthenticateCallbackPath, false)
|
||||
r, err := b.buildControlPlanePrefixRoute("/", false)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue