@nocobase/app 2.1.0-alpha.20 → 2.1.0-alpha.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -102,7 +102,7 @@ export default defineConfig(({ command }) => {
102
102
  const v2Port = toNumber(process.env.APP_V2_PORT, clientPort + 2);
103
103
  const hmrPath = `${resolvedAppPublicPath.replace(/\/$/, '')}/__rspack_hmr`;
104
104
  const proxyTargetUrl = process.env.PROXY_TARGET_URL || `http://127.0.0.1:${clientPort + 1}`;
105
- const hmrClientHost = process.env.RSPACK_HMR_CLIENT_HOST || 'localhost';
105
+ const hmrClientHost = process.env.RSPACK_HMR_CLIENT_HOST;
106
106
  const hmrClientPort = toNumber(process.env.RSPACK_HMR_CLIENT_PORT, clientPort);
107
107
  const workspaceAliases = getRsbuildAlias();
108
108
 
@@ -99,7 +99,7 @@ export default defineConfig(({ command }) => {
99
99
  const v2PublicPath = ensurePublicPath(`${appPublicPath.replace(/\/$/, '')}/v2/`);
100
100
  const hmrPath = `${v2PublicPath.replace(/\/$/, '')}/__rspack_hmr`;
101
101
  const v2Port = toNumber(process.env.APP_V2_PORT, 13002);
102
- const hmrClientHost = process.env.RSPACK_HMR_CLIENT_HOST || 'localhost';
102
+ const hmrClientHost = process.env.RSPACK_HMR_CLIENT_HOST;
103
103
  const hmrClientPort = toNumber(process.env.RSPACK_HMR_CLIENT_PORT || process.env.APP_PORT, v2Port);
104
104
  const proxyTargetUrl = process.env.PROXY_TARGET_URL || `http://127.0.0.1:${process.env.APP_PORT || 13001}`;
105
105
  const workspaceAliases = getRsbuildAlias();