npm package diff
Package: @forge/tunnel
Versions: 5.3.4 - 5.4.0-next.0
File: package/out/command/start-tunnel-command.js
Index: package/out/command/start-tunnel-command.js
===================================================================
--- package/out/command/start-tunnel-command.js
+++ package/out/command/start-tunnel-command.js
@@ -38,15 +38,14 @@
...Object.values(this.tunnelServers).map((server) => server.stop()),
this.cspReporterServer?.stop()
]);
};
- startFaaSTunnelServer = async ({ port, tunnelConfigPath, appId, environmentKey }) => {
+ startFaaSTunnelServer = async ({ port, appId, environmentKey }) => {
const { permissions = {}, remotes = [] } = await this.configFile.readConfig();
const serverInfo = await this.devServer.start(port, permissions, remotes);
const { id, token, url } = await this.tunnelClient.setupTunnel(appId, environmentKey);
const faasTunnelUrl = await this.tunnelFactory.establishTunnel({
port: serverInfo.port,
- tunnelConfigPath,
id,
token,
tunnelUrl: url
});
@@ -85,9 +84,8 @@
const allResources = await this.configFile.getResources();
try {
const faasTunnelServer = await this.startFaaSTunnelServer({
port,
- tunnelConfigPath: options.ngrokConfig,
appId,
environmentKey
});
const customUITunnelsServers = await this.startResourceBasedTunnelsServers(allResources, options);