last changes

This commit is contained in:
fahed
2026-02-16 10:59:55 +03:00
parent e92f11241d
commit 9bb4ecb0dd
808 changed files with 106431 additions and 0 deletions

View File

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