"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getBaseUri = void 0;
// partially duplicated from ./src/features/lightspeed/utils/webUtils.ts
/* Get base uri in a correct formatted way */
function getBaseUri(URL) {
    const baseUri = URL.trim();
    return baseUri.endsWith("/") ? baseUri.slice(0, -1) : baseUri;
}
exports.getBaseUri = getBaseUri;
