diff --git a/react-manifest-example/remote1/rsbuild.config.ts b/react-manifest-example/remote1/rsbuild.config.ts index c42ffbde7f..63f3e2e150 100644 --- a/react-manifest-example/remote1/rsbuild.config.ts +++ b/react-manifest-example/remote1/rsbuild.config.ts @@ -8,7 +8,10 @@ export default defineConfig({ }, dev: { // It is necessary to configure assetPrefix, and in the production environment, you need to configure output.assetPrefix - assetPrefix: 'http://localhost:3001', + assetPrefix: true, + client: { + port: 3001 + } }, tools: { rspack: (config, { appendPlugins }) => { diff --git a/react-manifest-example/remote2/rsbuild.config.ts b/react-manifest-example/remote2/rsbuild.config.ts index d0fae6bd14..9f706425d2 100644 --- a/react-manifest-example/remote2/rsbuild.config.ts +++ b/react-manifest-example/remote2/rsbuild.config.ts @@ -8,7 +8,10 @@ export default defineConfig({ }, dev: { // It is necessary to configure assetPrefix, and in the production environment, you need to configure output.assetPrefix - assetPrefix: 'http://localhost:3002', + assetPrefix: true, + client: { + port: 3002 + } }, tools: { rspack: (config, { appendPlugins }) => {