npm package diff
Package: @forge/tunnel
Versions: 5.3.3-next.0-experimental-10722bc - 5.5.0-next.13
File: package/out/servers/custom-ui-tunnel-server.js
Index: package/out/servers/custom-ui-tunnel-server.js
===================================================================
--- package/out/servers/custom-ui-tunnel-server.js
+++ package/out/servers/custom-ui-tunnel-server.js
@@ -21,10 +21,13 @@
socket;
constructor(tunnelArgs) {
super(tunnelArgs);
this.tunnelArgs = tunnelArgs;
- const { tunnel, permissions, remotes } = tunnelArgs;
+ const { tunnel, permissions, remotes, i18nConfig } = tunnelArgs;
this.app = (0, express_1.default)();
+ if (i18nConfig) {
+ this.app.use(this.getI18nResourcesMiddleware(i18nConfig));
+ }
this.app.use(this.getCustomUIHtmlTransformMiddleware(permissions, remotes));
if (tunnel) {
net_1.default.setDefaultAutoSelectFamily?.(true);
const { port: tunnelPort } = tunnel;