return absoluteAPIUrl
}
+function getAPIHost () {
+ return new URL(getAbsoluteAPIUrl()).host
+}
+
function getAbsoluteEmbedUrl () {
let absoluteEmbedUrl = environment.originServerUrl
if (!absoluteEmbedUrl) {
export {
objectToFormData,
getAbsoluteAPIUrl,
+ getAPIHost,
getAbsoluteEmbedUrl
}