optional public IP fetching

This commit is contained in:
KingKDot
2026-05-14 19:56:50 -05:00
parent 9c78483744
commit da3bec8de1
11 changed files with 85 additions and 1 deletions
@@ -115,6 +115,7 @@ export async function handleBuildRoutes(
useDonut,
useLinuxShellcode,
shellcodeConsole,
fetchPublicIP,
} = body;
if (!platforms || !Array.isArray(platforms) || platforms.length === 0) {
@@ -386,6 +387,7 @@ export async function handleBuildRoutes(
useDonut: !!useDonut,
useLinuxShellcode: !!useLinuxShellcode,
shellcodeConsole: !!shellcodeConsole,
fetchPublicIP: !!fetchPublicIP,
}).finally(() => {
if (rateLimitActive) recordBuildEnd(user.userId);
});