Files
appco_dist/.output/server/node_modules/axios/lib/helpers/parseProtocol.js
T

7 lines
151 B
JavaScript
Raw Normal View History

2026-01-27 16:47:33 +03:30
'use strict';
export default function parseProtocol(url) {
const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url);
return match && match[1] || '';
}