mirror of
https://github.com/containers/podman.git
synced 2025-09-10 04:12:20 +08:00
Add CORS support
[NO TESTS NEEDED] Signed-off-by: Boaz Shuster <boaz.shuster.github@gmail.com>
This commit is contained in:
@ -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.
|
||||
|
Reference in New Issue
Block a user