Skip to content

Commit d43d749

Browse files
authored
feat(PdfViewer): use HTTPS protocal (#462)
* chore: use HTTPS protocol * chore: bump version 9.0.2
1 parent 8741d5e commit d43d749

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/BootstrapBlazor.PdfViewer/BootstrapBlazor.PdfViewer.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk.Razor">
22

33
<PropertyGroup>
4-
<Version>9.0.1</Version>
4+
<Version>9.0.2</Version>
55
</PropertyGroup>
66

77
<PropertyGroup>

src/components/BootstrapBlazor.PdfViewer/PdfViewer.razor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export async function loadPdf(id, url) {
3434

3535
const useGoogleDocs = el.getAttribute('data-bb-google-docs') === 'true';
3636
if (useGoogleDocs) {
37-
url = `http://docs.google.com/viewer?url=${url}`
37+
url = `https://docs.google.com/viewer?url=${url}`
3838
}
3939
viewer.src = url;
4040
}

0 commit comments

Comments
 (0)