ApryseSDK / webviewer-react-sample

Sample to demonstrate integrating WebViewer into React
Other
172 stars 99 forks source link

Typo: The initial doc's value is not capitalized to match the actual file name. #6

Closed 0xb1dd1e closed 4 years ago

0xb1dd1e commented 4 years ago

The demo does not work as-is on Linux because the file is not found (incorrect lowercase):

https://github.com/PDFTron/webviewer-react-sample/blob/9eacc7184df27770400a8385e2d92fd7affddc2e/src/App.js#L13

https://github.com/PDFTron/webviewer-react-sample/blob/master/public/files/PDFTRON_about.pdf

CorreyL commented 4 years ago

Thanks for the heads up @0xb1dd1e, I've been able to re-produce the issue in this environment:

$ lsb_release -a
No LSB modules are available.
Distributor ID: Raspbian
Description:    Raspbian GNU/Linux 10 (buster)
Release:        10
Codename:       buster

Before

image

After

image

Setting up a PR to fix this now. Thanks again!

CorreyL commented 4 years ago

Addressed in #7