Skip to content

Commit 71d0c20

Browse files
committed
chore: Remove NGROK_USE_API
1 parent 1ead811 commit 71d0c20

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

src/lib/deeploy-utils.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,6 @@ export const formatGenericPluginConfigAndSignature = (
278278
TUNNEL_ENGINE: 'cloudflare',
279279
CLOUDFLARE_TOKEN: plugin.tunnelingToken || null,
280280
TUNNEL_ENGINE_ENABLED: plugin.enableTunneling === 'True',
281-
NGROK_USE_API: true,
282281
// Variables
283282
ENV: envVars,
284283
DYNAMIC_ENV: dynamicEnvVars,
@@ -383,7 +382,6 @@ export const formatNativeJobPayload = (
383382
PORT: formatPort(deployment.port),
384383
CLOUDFLARE_TOKEN: deployment.tunnelingToken || null,
385384
TUNNEL_ENGINE_ENABLED: deployment.enableTunneling === 'True',
386-
NGROK_USE_API: true,
387385
};
388386

389387
formatNativeJobCustomParams(primaryPluginConfig, deployment);
@@ -419,7 +417,6 @@ export const formatNativeJobPayload = (
419417
PORT: formatPort(nativePlugin.port),
420418
CLOUDFLARE_TOKEN: nativePlugin.tunnelingToken || null,
421419
TUNNEL_ENGINE_ENABLED: nativePlugin.enableTunneling === 'True',
422-
NGROK_USE_API: true,
423420
};
424421

425422
if (!_.isEmpty(nativePlugin.customParams)) {
@@ -488,7 +485,6 @@ export const formatServiceJobPayload = (
488485
NGROK_AUTH_TOKEN: deployment.tunnelingToken ?? null,
489486
NGROK_EDGE_LABEL: deployment.tunnelingLabel ?? null,
490487
TUNNEL_ENGINE_ENABLED: deployment.enableTunneling === 'True',
491-
NGROK_USE_API: true,
492488
ENV: envVars,
493489
RESTART_POLICY: 'always',
494490
IMAGE_PULL_POLICY: 'always',

src/typedefs/deeployApi.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ type JobConfig = {
5454
IMAGE_PULL_POLICY?: string;
5555
INSTANCE_ID: string;
5656
NGROK_AUTH_TOKEN?: string;
57-
NGROK_USE_API: boolean;
5857
NGROK_EDGE_LABEL?: string;
5958
PORT: number;
6059
RESTART_POLICY?: string;

0 commit comments

Comments
 (0)