Skip to content

Commit

Permalink
fix: modify port can't use
Browse files Browse the repository at this point in the history
  • Loading branch information
zhoushaw committed Aug 6, 2021
1 parent 11725e0 commit 7052772
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ describe('monitoring the isolation', () => {

const resourceMessageMap = {
mainJsResource: 'http://localhost:1111/monitoring/xxxxx.js',
subAppJsResource: 'http://localhost:0000/monitoring/xxxxx.js',
subAppJsResource: 'http://localhost:1112/monitoring/xxxxx.js',
};

it('subApp resource error isolation', () => {
Expand Down
2 changes: 1 addition & 1 deletion dev/react/src/components/monitoring.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export default function () {
function resourceError() {
// resource error
const sc = document.createElement('script');
sc.src = `http://localhost:0000/monitoring/xxxxx.js`;
sc.src = `http://localhost:1112/monitoring/xxxxx.js`;
document.body.appendChild(sc);
}

Expand Down

0 comments on commit 7052772

Please sign in to comment.