From b1e4c3908e57be1dd2ace834e23fb497f6cf1d9b Mon Sep 17 00:00:00 2001 From: Amio Date: Fri, 31 May 2019 21:58:58 +0800 Subject: [PATCH] Fix routes config in now.json For routes like 'chrome-web-store' or 'vs-marketplace' --- now.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/now.json b/now.json index 66e0bfd..3f0936d 100644 --- a/now.json +++ b/now.json @@ -10,7 +10,7 @@ } } ], "routes": [ - { "src": "/(?\\w+)/.*", "dest": "/endpoints/$name.ts" } + { "src": "/(?[^/]+)/.*", "dest": "/endpoints/$name.ts" } ], "env": { "GH_TOKEN": "@badgen-gh-tokens",