Skip to content

v0.1.7

@DrHayt DrHayt tagged this 21 Apr 00:42
AllowOrigin (single string) is replaced by AllowOrigins ([]string).
The router now matches the request Origin header against the list,
echoes the matched origin back, and sets Vary: Origin for non-wildcard
matches. Non-matching origins receive no CORS headers.
Assets 2
Loading