const mixinafColdFeet::UrlExclusions

afColdFeet::UrlExclusions

(Service) - Contribute regular expressions to exclude URLs from being handled / altered by ColdFeet.

Example, to ignore all local URLs in the directory images/:

@Contribute { serviceType=UrlExclusions# }
static Void contributeUrlExclusions(Configuration config) {
    config.add("^/images/".toRegex)
}

Note that the regular expressions are matched against local URLs in URI standard form. That means the the characters :/?#[]@\ are (in the path section at least) prefixed with a backslash.