Skip to content

Commit 9a57f70

Browse files
committed
bugfix: ensureThatURLStartsWithHTTP adding use https protocol
1 parent 8751008 commit 9a57f70

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

vis/js/utils/usePdfLookup.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ const ensureThatURLStartsWithHTTP = (url: string): string => {
109109
let formattedURL = url;
110110

111111
if (!/^https?:\/\//i.test(url)) {
112-
formattedURL = "http:" + url;
112+
formattedURL = "https:" + url;
113113
}
114114

115115
return formattedURL;

0 commit comments

Comments
 (0)