Files
cpas/client/node_modules/axios/lib/helpers/parseProtocol.js
T
jason 97be2d2908
Build and Push Docker Image / build (push) Successful in 18s
auth modal
2026-05-27 09:07:23 -05:00

7 lines
153 B
JavaScript

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