mirror of
https://github.com/n8n-io/n8n.git
synced 2026-09-21 12:51:16 +08:00
chore: Remove all mentions of --tunnel (no-changelog) (#23886)
This commit is contained in:
@@ -38,7 +38,6 @@
|
||||
"setup-backend-module": "node scripts/ensure-zx.mjs && zx scripts/backend-module/setup.mjs",
|
||||
"start": "run-script-os",
|
||||
"start:default": "cd packages/cli/bin && ./n8n",
|
||||
"start:tunnel": "./packages/cli/bin/n8n start --tunnel",
|
||||
"start:windows": "cd packages/cli/bin && n8n",
|
||||
"test": "JEST_JUNIT_CLASSNAME={filepath} turbo run test",
|
||||
"test:ci": "turbo run test --continue --concurrency=1",
|
||||
|
||||
@@ -105,7 +105,6 @@
|
||||
"@n8n/decorators": "workspace:*",
|
||||
"@n8n/di": "workspace:*",
|
||||
"@n8n/errors": "workspace:*",
|
||||
"@n8n/localtunnel": "3.0.0",
|
||||
"@n8n/n8n-nodes-langchain": "workspace:*",
|
||||
"@n8n/permissions": "workspace:*",
|
||||
"@n8n/task-runner": "workspace:*",
|
||||
|
||||
@@ -43,12 +43,6 @@ const open = require('open');
|
||||
|
||||
const flagsSchema = z.object({
|
||||
open: z.boolean().alias('o').describe('opens the UI automatically in browser').optional(),
|
||||
tunnel: z
|
||||
.boolean()
|
||||
.describe(
|
||||
'runs the webhooks via a hooks.n8n.cloud tunnel server. Use only for testing and development!',
|
||||
)
|
||||
.optional(),
|
||||
});
|
||||
|
||||
@Command({
|
||||
|
||||
@@ -384,7 +384,6 @@ export class FrontendService {
|
||||
}
|
||||
const restEndpoint = this.globalConfig.endpoints.rest;
|
||||
|
||||
// Update all urls, in case `WEBHOOK_URL` was updated by `--tunnel`
|
||||
const instanceBaseUrl = this.urlService.getInstanceBaseUrl();
|
||||
this.settings.urlBaseWebhook = this.urlService.getWebhookBaseUrl();
|
||||
this.settings.urlBaseEditor = instanceBaseUrl;
|
||||
|
||||
@@ -494,7 +494,7 @@ export class GithubTrigger implements INodeType {
|
||||
if (webhookUrl.includes('//localhost')) {
|
||||
throw new NodeOperationError(
|
||||
this.getNode(),
|
||||
'The Webhook can not work on "localhost". Please, either setup n8n on a custom domain or start with "--tunnel"!',
|
||||
'The Webhook can not work on "localhost". Please setup n8n on a custom domain.',
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -79,7 +79,7 @@ export class OnfleetTrigger implements INodeType {
|
||||
if (webhookUrl.includes('//localhost')) {
|
||||
throw new NodeOperationError(
|
||||
this.getNode(),
|
||||
'The Webhook can not work on "localhost". Please, either setup n8n on a custom domain or start with "--tunnel"!',
|
||||
'The Webhook can not work on "localhost". Please setup n8n on a custom domain.',
|
||||
);
|
||||
}
|
||||
// Webhook name according to the field
|
||||
|
||||
Generated
-39
@@ -1516,9 +1516,6 @@ importers:
|
||||
'@n8n/errors':
|
||||
specifier: workspace:*
|
||||
version: link:../@n8n/errors
|
||||
'@n8n/localtunnel':
|
||||
specifier: 3.0.0
|
||||
version: 3.0.0
|
||||
'@n8n/n8n-nodes-langchain':
|
||||
specifier: workspace:*
|
||||
version: link:../@n8n/nodes-langchain
|
||||
@@ -6317,10 +6314,6 @@ packages:
|
||||
resolution: {integrity: sha512-AAwRb5vXFcY4L+FvZ7LZusDuZ0vEe0Zm8ohn1FM6/X7A3bj4mqmkAcGRWuvC2JwSygNwHAAmMnAI73vPHeqsHA==}
|
||||
engines: {node: '>=18'}
|
||||
|
||||
'@n8n/localtunnel@3.0.0':
|
||||
resolution: {integrity: sha512-0t/AUiZ8Oqo7AqYp2q2qmEC2p2lPP4CEdrGRB0J6nSC7ivOtr0p46Pw739UvUfJMU1bIKvzHIc5M9wCjH5Byjg==}
|
||||
engines: {node: '>=18.0.0'}
|
||||
|
||||
'@n8n/tournament@1.0.6':
|
||||
resolution: {integrity: sha512-UGSxYXXVuOX0yL6HTLBStKYwLIa0+JmRKiSZSCMcM2s2Wax984KWT6XIA1TR/27i7yYpDk1MY14KsTPnuEp27A==}
|
||||
engines: {node: '>=20.15', pnpm: '>=9.5'}
|
||||
@@ -10878,15 +10871,6 @@ packages:
|
||||
supports-color:
|
||||
optional: true
|
||||
|
||||
debug@4.3.6:
|
||||
resolution: {integrity: sha512-O/09Bd4Z1fBrU4VzkhFqVgpPzaGbw6Sm9FEkBT1A/YBXQFGuuSxa1dN2nxgxS34JmKXqYx8CZAwEVoJFImUXIg==}
|
||||
engines: {node: '>=6.0'}
|
||||
peerDependencies:
|
||||
supports-color: '*'
|
||||
peerDependenciesMeta:
|
||||
supports-color:
|
||||
optional: true
|
||||
|
||||
debug@4.4.0:
|
||||
resolution: {integrity: sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA==}
|
||||
engines: {node: '>=6.0'}
|
||||
@@ -22768,13 +22752,6 @@ snapshots:
|
||||
outvariant: 1.4.3
|
||||
strict-event-emitter: 0.5.1
|
||||
|
||||
'@n8n/localtunnel@3.0.0':
|
||||
dependencies:
|
||||
axios: 1.12.0(debug@4.3.6)
|
||||
debug: 4.3.6
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
|
||||
'@n8n/tournament@1.0.6':
|
||||
dependencies:
|
||||
'@n8n_io/riot-tmpl': 4.0.1
|
||||
@@ -26841,14 +26818,6 @@ snapshots:
|
||||
axios: 1.12.0(debug@4.4.1)
|
||||
is-retry-allowed: 2.2.0
|
||||
|
||||
axios@1.12.0(debug@4.3.6):
|
||||
dependencies:
|
||||
follow-redirects: 1.15.11(debug@4.3.6)
|
||||
form-data: 4.0.4
|
||||
proxy-from-env: 1.1.0
|
||||
transitivePeerDependencies:
|
||||
- debug
|
||||
|
||||
axios@1.12.0(debug@4.4.1):
|
||||
dependencies:
|
||||
follow-redirects: 1.15.11(debug@4.4.1)
|
||||
@@ -28173,10 +28142,6 @@ snapshots:
|
||||
dependencies:
|
||||
ms: 2.1.2
|
||||
|
||||
debug@4.3.6:
|
||||
dependencies:
|
||||
ms: 2.1.2
|
||||
|
||||
debug@4.4.0:
|
||||
dependencies:
|
||||
ms: 2.1.3
|
||||
@@ -29612,10 +29577,6 @@ snapshots:
|
||||
|
||||
fn.name@1.1.0: {}
|
||||
|
||||
follow-redirects@1.15.11(debug@4.3.6):
|
||||
optionalDependencies:
|
||||
debug: 4.3.6
|
||||
|
||||
follow-redirects@1.15.11(debug@4.4.1):
|
||||
optionalDependencies:
|
||||
debug: 4.4.1(supports-color@8.1.1)
|
||||
|
||||
Reference in New Issue
Block a user