Skip to content

Commit 613c377

Browse files
committed
2 parents f1b3e83 + e526624 commit 613c377

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/openlayers/mapping/WebMap.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1822,9 +1822,9 @@ export class WebMap extends Observable {
18221822
if (layerInfo.layerType === 'MIGRATION') {
18231823
try {
18241824
if (dataSource.type === 'PORTAL_DATA') {
1825-
const { dataMetaInfo } = await FetchRequest.get(`${Util.getIPortalUrl()}web/datas/${dataSource.serverId}.json`, null, {
1825+
const { dataMetaInfo } = await FetchRequest.get(`${this.server}web/datas/${dataSource.serverId}.json`, null, {
18261826
withCredentials: true
1827-
})
1827+
}).then(res => res.json());
18281828
// eslint-disable-next-line require-atomic-updates
18291829
layerInfo.xyField = {
18301830
xField: dataMetaInfo.xField,

0 commit comments

Comments
 (0)