mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-10 15:47:36 +02:00
config: use full string url instead of just the hostname for the policy options
This commit is contained in:
parent
903a2d401f
commit
e8c8e7c688
5 changed files with 13 additions and 12 deletions
|
@ -336,7 +336,7 @@ func TestRouteMatcherFuncFromPolicy(t *testing.T) {
|
|||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
src := &config.HostnameURL{URL: srcURL}
|
||||
src := &config.StringURL{URL: srcURL}
|
||||
matcher := routeMatcherFuncFromPolicy(config.Policy{
|
||||
Source: src,
|
||||
Prefix: tt.prefix,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue