serve all files without flask
This commit is contained in:
parent
08fac3e131
commit
f2221188ea
5 changed files with 18 additions and 56 deletions
|
|
@ -4749,7 +4749,7 @@ document.addEventListener('DOMContentLoaded', function webViewerLoad(evt) {
|
|||
PDFView.initialize();
|
||||
|
||||
var params = PDFView.parseQueryString(document.location.search.substring(1));
|
||||
var file = params.file || document.location.pathname.replace(/\/reader\//, '/pdf');
|
||||
var file = params.file || document.location.pathname.replace(/\/reader\//, '/pdf/');
|
||||
|
||||
|
||||
var fileInput = document.createElement('input');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue