Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/api-platform/website
/ addHttpsToUrls
Function
addHttpsToUrls
pwa/api/contributorsRank.ts:190–196 ·
view source on GitHub ↗
(url: string)
Source
from the content-addressed store, hash-verified
188
};
189
190
const
addHttpsToUrls = (url: string) => {
191
if
(!/^https?:\/\
//i.test(url)) {
192
return
"https://"
+ url;
193
}
194
195
return
url;
196
}
Callers
1
getAllContributors
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected