Skip to content

Commit c9d5d70

Browse files
committed
chore: fix http: without //
1 parent 9769b80 commit c9d5d70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/api/contributors.get.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ function cleanString(val: string | null, url = false): string | null {
103103
if (!url) {
104104
return val
105105
}
106-
return val.startsWith('https://') || val.startsWith('http:') ? val : null
106+
return val.startsWith('https://') || val.startsWith('http://') ? val : null
107107
}
108108

109109
/**

0 commit comments

Comments
 (0)