mirror of
https://github.com/semaphoreui/semaphore.git
synced 2025-01-20 15:29:28 +01:00
feat(ui): add http repo protocol
This commit is contained in:
parent
bbb362655c
commit
77694cf685
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user