Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6db540c

Browse files
committed
Merge branch 'master' of github.com:coderstats/coderstats.net
2 parents 8fd9b60 + 96a17b4 commit 6db540c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/js/coder.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ let coder = new Vue({
106106
},
107107
filters: {
108108
fixURL: value => {
109-
if (!value.startsWith('http://') || !value.startsWith('https://')) {
109+
if (!value.startsWith('http://') && !value.startsWith('https://')) {
110110
value = `https://${value}`;
111111
}
112112
return value;
@@ -195,4 +195,4 @@ let coder = new Vue({
195195
});
196196
}
197197
}
198-
});
198+
});

0 commit comments

Comments
 (0)