diff --git a/now.json b/now.json new file mode 100644 index 0000000000..47e21caa88 --- /dev/null +++ b/now.json @@ -0,0 +1,15 @@ +{ + "name": "markedjs", + "scope": "markedjs", + "alias": "markedjs.now.sh", + "version": 2, + "regions": ["all"], + "builds": [ + { "src": "docs/**", "use": "@now/static" } + ], + "routes": [ + { "src": "/repo", "status": 302, "headers": { "Location": "https://github.com/markedjs/marked" } }, + { "src": "/old", "status": 302, "headers": { "Location": "https://marked.js.org" } }, + { "src": "/(.*)", "dest": "/docs/$1" } + ] +}