Fix build-api.js destination path to copy within code directory

cgen-5e1c42f5490445808beb44d0f48e1844
This commit is contained in:
Builder.io 2025-11-16 05:00:02 +00:00
parent 753ba04700
commit b981999dcc

View file

@ -8,7 +8,7 @@ const __dirname = path.dirname(fileURLToPath(import.meta.url));
console.log("Preparing API files for Vercel...");
const srcApi = path.resolve(__dirname, "api");
const destApi = path.resolve(__dirname, "..", "api");
const destApi = path.resolve(__dirname, "api");
const UTILITY_PATTERNS = [
/^_/,