diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-06-04 18:13:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-04 18:13:21 +0200 |
commit | cdf26a3d5677e0372e8892f85a8fd6065d512bcf (patch) | |
tree | fd499393b681028d6bd44022513ecc70d953521d /cmd/podman/system/service_abi.go | |
parent | c361a3886e28eabbefe403323d4d65663f284ea5 (diff) | |
parent | 2810c478a7f2497fad1300ce63c8476bb50a6ad0 (diff) | |
download | podman-cdf26a3d5677e0372e8892f85a8fd6065d512bcf.tar.gz podman-cdf26a3d5677e0372e8892f85a8fd6065d512bcf.tar.bz2 podman-cdf26a3d5677e0372e8892f85a8fd6065d512bcf.zip |
Merge pull request #10546 from boaz0/closes_8645
Add CORS support
Diffstat (limited to 'cmd/podman/system/service_abi.go')
-rw-r--r-- | cmd/podman/system/service_abi.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/system/service_abi.go b/cmd/podman/system/service_abi.go index 364663323..d59a45564 100644 --- a/cmd/podman/system/service_abi.go +++ b/cmd/podman/system/service_abi.go @@ -72,7 +72,7 @@ func restService(opts entities.ServiceOptions, flags *pflag.FlagSet, cfg *entiti } infra.StartWatcher(rt) - server, err := api.NewServerWithSettings(rt, opts.Timeout, listener) + server, err := api.NewServerWithSettings(rt, listener, api.Options{Timeout: opts.Timeout, CorsHeaders: opts.CorsHeaders}) if err != nil { return err } |