Skip to content

Commit acbce6b

Browse files
committed
fix org website protocol test
1 parent dab5f60 commit acbce6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/views/student-orgs/clean-org.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export default function cleanOrg(org: StudentOrgType): StudentOrgType {
2323
const meetings = org.meetings.trim()
2424
const description = fastGetTrimmedText(org.description)
2525
let website = org.website.trim()
26-
if (website && /^https?:\/\//.test(website)) {
26+
if (website && !/^https?:\/\//.test(website)) {
2727
website = `http://${website}`
2828
}
2929

0 commit comments

Comments
 (0)