mirror of
https://github.com/caprover/caprover
synced 2026-08-20 14:36:37 +00:00
12 lines
358 B
JavaScript
12 lines
358 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
class Utils {
|
|
static removeHttpHttps(input) {
|
|
input = input.trim();
|
|
input = input.replace(/^(?:http?:\/\/)?/i, '');
|
|
input = input.replace(/^(?:https?:\/\/)?/i, '');
|
|
return input;
|
|
}
|
|
}
|
|
exports.default = Utils;
|
|
//# sourceMappingURL=Utils.js.map
|