Skip to content

Commit

Permalink
✏️ Anchor regex for schemas.
Browse files Browse the repository at this point in the history
  • Loading branch information
Keith Hatton committed Jun 1, 2018
1 parent 6351e18 commit b8c8e7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion default.vcl
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ sub vcl_recv {
set req.url = regsub(req.url, "notification\/brightcove\/metadata", "notify");
set req.backend_hint = dynBackend.backend("brightcove-metadata-preprocessor");
}
elif (req.url ~ "\/schemas.*$") {
elif (req.url ~ "^\/schemas.*$") {
set req.backend_hint = dynBackend.backend("json-schema-reader");
}
elif (req.url ~ "^\/__[\w-]*\/.*$") {
Expand Down

0 comments on commit b8c8e7c

Please sign in to comment.