Add the four settings the README documented but pixa lacked (closes #61) #142
@@ -10,8 +10,8 @@ import (
|
||||
)
|
||||
|
||||
// TestCORSAnswersWithConfiguredOrigin checks that the CORS middleware
|
||||
// uses access_control_allow_origin: "*" lets any origin read responses,
|
||||
// and a single origin lets that origin read them and no other.
|
||||
// answers with access_control_allow_origin, where "*" lets any origin read
|
||||
// responses and a single origin lets only that origin read them.
|
||||
func TestCORSAnswersWithConfiguredOrigin(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user