Skip to content

Commit b46fc34

Browse files
committed
fix: Umi mini url using host not domain in iframe
1 parent 28ab4e8 commit b46fc34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/umi-plugin-ui/src/bubble/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class App extends React.Component {
7272
getMiniUrl = () => {
7373
const { port } = this.props;
7474
const { currentProject } = this.state;
75-
return `http://localhost:${port}/?mini&${
75+
return `http://127.0.0.1:${port}/?mini&${
7676
currentProject && currentProject.key ? `&key=${currentProject.key}` : ''
7777
}`;
7878
};

0 commit comments

Comments
 (0)