update builder path

This commit is contained in:
Martin McKeaveney 2022-07-11 11:16:31 +01:00
parent 367cf37795
commit b695355ed1
1 changed files with 2 additions and 1 deletions

View File

@ -73,7 +73,8 @@ exports.toggleBetaUiFeature = async function (ctx) {
}
exports.serveBuilder = async function (ctx) {
await send(ctx, ctx.file, { root: TOP_LEVEL_PATH })
const builderPath = resolve(TOP_LEVEL_PATH, "builder")
await send(ctx, ctx.file, { root: builderPath })
if (!ctx.file.includes("assets/")) {
await events.serve.servedBuilder()
}