From 5dee412ac85d5be7e53dd4e3211789999cc5c085 Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Tue, 30 Jul 2024 12:33:20 +0200 Subject: [PATCH] add proxy to helper --- frontend/src/lib/script_helpers.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/lib/script_helpers.ts b/frontend/src/lib/script_helpers.ts index 4a078bf680..d450a8b451 100644 --- a/frontend/src/lib/script_helpers.ts +++ b/frontend/src/lib/script_helpers.ts @@ -26,6 +26,7 @@ export async function main(example_input: number = 3) { ` export const BUNNATIVE_INIT_CODE = `//native +//you can add proxy support using //proxy http(s)://host:port // native scripts are bun scripts that are executed on native workers and can be parallelized // only fetch is allowed, but imports will work as long as they also use only fetch and the standard lib