Skip to content

fix(cors): allowOriginStringMatch & allowMethods are required

Codecov / codecov/patch failed Dec 13, 2024 in 0s

61.53% of diff hit (target 70.00%)

View this Pull Request on Codecov

61.53% of diff hit (target 70.00%)

Annotations

Check warning on line 57 in types/plugins/cors/config.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

types/plugins/cors/config.go#L56-L57

Added lines #L56 - L57 were not covered by tests

Check warning on line 67 in types/plugins/cors/config.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

types/plugins/cors/config.go#L67

Added line #L67 was not covered by tests

Check warning on line 71 in types/plugins/cors/config.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

types/plugins/cors/config.go#L71

Added line #L71 was not covered by tests