MCPcopy Create free account
hub / github.com/SuperMap/iClient-JavaScript / transformServerUrl

Function transformServerUrl

src/common/mapping/utils/util.js:65–67  ·  view source on GitHub ↗
(serverUrl)

Source from the content-addressed store, hash-verified

63}
64
65export function transformServerUrl(serverUrl) {
66 return !serverUrl || serverUrl.slice(-1) === '/' ? serverUrl : `${serverUrl}/`;
67}
68
69 /**
70 * @description url 拼接代理或者凭证信息

Callers 3

_setServerMethod · 0.90
handleServerUrlMethod · 0.90
getEpsgCodeInfoFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected