diff --git a/package.json b/package.json index 6a521be6..fa813be0 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "debug": "node --inspect-brk node_modules/.bin/rollup -c", "dev": "run-p watch serve", "watch": "rollup -cw", - "serve": "serve --config server.json .tmp/build/static" + "serve": "serve --config ../../../serve.json .tmp/build/static" }, "devDependencies": { "@rollup/plugin-commonjs": "^15.1.0", diff --git a/serve.json b/serve.json index 283758dc..7ee5334b 100644 --- a/serve.json +++ b/serve.json @@ -9,5 +9,6 @@ } ] } - ] + ], + "redirects": [{ "source": "/editor", "destination": "/" }] }