Add warnings alongside deprecated URL patterns (#3715)

Ref #3714
This commit is contained in:
Paul Melnikow
2019-07-14 19:14:19 -04:00
committed by GitHub
parent 6a2f384860
commit b493fbf70e
9 changed files with 18 additions and 0 deletions

View File

@@ -35,6 +35,8 @@ module.exports = class Website extends BaseService {
static get route() {
return {
base: 'website',
// Do not base new services on this route pattern.
// See https://github.com/badges/shields/issues/3714
pattern: ':protocol(https|http)/:hostAndPath+',
queryParamSchema,
}