Fix dev server config & redirect /editor

This commit is contained in:
Jake Archibald
2020-11-23 14:20:41 +00:00
parent 3ae1cf86f5
commit 25fb1a9c80
2 changed files with 3 additions and 2 deletions

View File

@@ -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",

View File

@@ -9,5 +9,6 @@
}
]
}
]
],
"redirects": [{ "source": "/editor", "destination": "/" }]
}