Closed tqwewe closed 7 years ago
Sorry, the framework is no longer maintained. On Sat, 27 May 2017 at 16:41, Ari Seyhun notifications@github.com<mailto:notifications@github.com> wrote:
The Exclude option in StaticOptions only accepted a string and compared it with a URL prefix. This commit changes it to ExcludePrefix and allows it to take a []string as well as adding ExcludeSuffix to compare with the URL suffix.
You can view, comment on, or merge this pull request online at:
https://github.com/go-martini/martini/pull/411
Commit Summary
File Changes
Patch Links:
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/go-martini/martini/pull/411, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABQFFxn8_pRc0hTMCgGWsTTxR0UD3l1Uks5r-DYVgaJpZM4NoXlb.
The Exclude option in StaticOptions only accepted a string and compared it with a URL prefix. This commit changes it to ExcludePrefix and allows it to take a []string as well as adding ExcludeSuffix to compare with the URL suffix.