1
0
Fork 0
mirror of synced 2024-06-26 18:10:51 +12:00

update builder path

This commit is contained in:
Martin McKeaveney 2022-07-11 11:16:31 +01:00
parent 387f224198
commit 95a7155b79

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()
}