diff options
author | Boaz Shuster <boaz.shuster.github@gmail.com> | 2021-06-02 23:32:58 +0300 |
---|---|---|
committer | Boaz Shuster <boaz.shuster.github@gmail.com> | 2021-06-04 16:14:52 +0300 |
commit | 2810c478a7f2497fad1300ce63c8476bb50a6ad0 (patch) | |
tree | 98ec1d04e4755d16ac92cc3f3c0071be1e01b80f /pkg/domain/entities | |
parent | b64e20a53d3f5de262f2c475be490b35977d5f32 (diff) | |
download | podman-2810c478a7f2497fad1300ce63c8476bb50a6ad0.tar.gz podman-2810c478a7f2497fad1300ce63c8476bb50a6ad0.tar.bz2 podman-2810c478a7f2497fad1300ce63c8476bb50a6ad0.zip |
Add CORS support
[NO TESTS NEEDED]
Signed-off-by: Boaz Shuster <boaz.shuster.github@gmail.com>
Diffstat (limited to 'pkg/domain/entities')
-rw-r--r-- | pkg/domain/entities/system.go | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pkg/domain/entities/system.go b/pkg/domain/entities/system.go index 31a6185dc..cca4bf44e 100644 --- a/pkg/domain/entities/system.go +++ b/pkg/domain/entities/system.go @@ -11,9 +11,10 @@ import ( // ServiceOptions provides the input for starting an API Service type ServiceOptions struct { - URI string // Path to unix domain socket service should listen on - Timeout time.Duration // duration of inactivity the service should wait before shutting down - Command *cobra.Command // CLI command provided. Used in V1 code + URI string // Path to unix domain socket service should listen on + Timeout time.Duration // duration of inactivity the service should wait before shutting down + Command *cobra.Command // CLI command provided. Used in V1 code + CorsHeaders string // CORS headers } // SystemPruneOptions provides options to prune system. |