feat(ui): add http repo protocol

This commit is contained in:
fiftin 2024-05-23 19:43:24 +02:00
parent bbb362655c
commit 77694cf685
No known key found for this signature in database
GPG Key ID: 044381366A5D4731

View File

@ -35,7 +35,7 @@
<div class="mt-1 mb-4">
<span class="caption">git:</span>
<v-chip
v-for="x in ['ssh', 'https', 'file', 'git']"
v-for="x in ['ssh', 'http', 'https', 'file', 'git']"
x-small
class="ml-1"
:color="type ===x ? 'primary' : ''"
@ -148,7 +148,7 @@ export default {
return 'ssh';
}
if (!['git', 'file', 'ssh', 'https'].includes(m[1])) {
if (!['git', 'file', 'ssh', 'http', 'https'].includes(m[1])) {
return null;
}