We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 885c363 + 2dfc364 commit ce4ef48Copy full SHA for ce4ef48
1 file changed
public/nb_viewer.html
@@ -77,7 +77,7 @@
77
<script type="text/javascript">
78
const queryString = window.location.search;
79
const urlParams = new URLSearchParams(queryString);
80
- const DEFAULT_URL = `uploads/${urlParams.get('id')}.pdf`
+ const DEFAULT_URL = `uploads/${urlParams.get('id')}`
81
document.getElementById("download").setAttribute("href", DEFAULT_URL)
82
run()
83
0 commit comments