mirror of
https://scm.univ-tours.fr/22107988t/rappaurio-sae501_502.git
synced 2025-08-29 17:55:58 +02:00
v1.0 du site web
This commit is contained in:
6
app/node_modules/axios/lib/helpers/parseProtocol.js
generated
vendored
Normal file
6
app/node_modules/axios/lib/helpers/parseProtocol.js
generated
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
'use strict';
|
||||
|
||||
export default function parseProtocol(url) {
|
||||
const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url);
|
||||
return match && match[1] || '';
|
||||
}
|
Reference in New Issue
Block a user