Merge pull request #6669 from hashicorp/b-cors-allow-credentials
Allow UI to query client directly for task logs/state
This commit is contained in:
commit
be6c60455e
|
@ -41,9 +41,10 @@ var (
|
|||
|
||||
// allowCORS sets permissive CORS headers for a handler
|
||||
allowCORS = cors.New(cors.Options{
|
||||
AllowedOrigins: []string{"*"},
|
||||
AllowedMethods: []string{"HEAD", "GET"},
|
||||
AllowedHeaders: []string{"*"},
|
||||
AllowedOrigins: []string{"*"},
|
||||
AllowedMethods: []string{"HEAD", "GET"},
|
||||
AllowedHeaders: []string{"*"},
|
||||
AllowCredentials: true,
|
||||
})
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue