Merge pull request #1007 from Scalesoft/develop

Added https support for repositories
This commit is contained in:
Denis Gukov 2022-09-08 22:48:11 +05:00 committed by GitHub
commit d2993c2900
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,6 +61,16 @@
>
ssh
</v-chip>
<v-chip
x-small
class="ml-1"
:color="type ==='https' ? 'primary' : ''"
@click="setType('https')"
style="font-weight: bold;"
>
https
</v-chip>
<span class="caption ml-3">local:</span>
<v-chip
x-small
@ -166,7 +176,7 @@ export default {
return 'ssh';
}
if (!['git', 'file', 'ssh'].includes(m[1])) {
if (!['git', 'file', 'ssh', 'https'].includes(m[1])) {
return null;
}