From 9ebd90a07d35d69b97d74635cb6f81aa059bb7f8 Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Wed, 7 Jun 2023 16:36:43 +0100 Subject: [PATCH] Don't resolve anymore given we have an absolute top level path --- packages/server/src/api/controllers/static/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/server/src/api/controllers/static/index.ts b/packages/server/src/api/controllers/static/index.ts index 6879c09fda..49d2abfc79 100644 --- a/packages/server/src/api/controllers/static/index.ts +++ b/packages/server/src/api/controllers/static/index.ts @@ -1,6 +1,6 @@ require("svelte/register") -import { resolve, join } from "../../../utilities/centralPath" +import { join } from "../../../utilities/centralPath" const uuid = require("uuid") import { ObjectStoreBuckets } from "../../../constants" import { processString } from "@budibase/string-templates" @@ -49,7 +49,7 @@ export const toggleBetaUiFeature = async function (ctx: any) { return } - let builderPath = resolve(TOP_LEVEL_PATH, "new_design_ui") + let builderPath = join(TOP_LEVEL_PATH, "new_design_ui") // // download it from S3 if (!fs.existsSync(builderPath)) {