Skip to content
This repository has been archived by the owner on Oct 5, 2022. It is now read-only.

Commit

Permalink
Simplified MAPI URLs in config files. Added Shadow DOM polyfill to ha…
Browse files Browse the repository at this point in the history
…ndle Edge browser issue. (Azure#483)
  • Loading branch information
azaslonov authored Feb 14, 2020
1 parent 8640912 commit b7c8a3b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
"@paperbits/prosemirror": "0.1.207",
"@paperbits/styles": "0.1.207",
"@webcomponents/custom-elements": "^1.3.2",
"@webcomponents/shadydom": "^1.7.1",
"adal-vanilla": "^1.0.18",
"applicationinsights-js": "^1.0.20",
"core-js": "^3.6.3",
Expand Down
2 changes: 1 addition & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ export class Utils {
? url.pathname.substring(0, url.pathname.length - 1)
: url.pathname;

resourceUrl = `${protocol}//${hostname}/subscriptions/xxx/resourceGroups/xxx/providers/Microsoft.ApiManagement/service/xxx${pathname}`;
resourceUrl = `${protocol}//${hostname}/subscriptions/sid/resourceGroups/rgid/providers/Microsoft.ApiManagement/service/sid${pathname}`;

return resourceUrl;
}
Expand Down

0 comments on commit b7c8a3b

Please sign in to comment.