Skip to content

Commit ce4ef48

Browse files
authored
Merge pull request #287 from casillasenrique/patch-1
Remove `.pdf` from default URL
2 parents 885c363 + 2dfc364 commit ce4ef48

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

public/nb_viewer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
<script type="text/javascript">
7878
const queryString = window.location.search;
7979
const urlParams = new URLSearchParams(queryString);
80-
const DEFAULT_URL = `uploads/${urlParams.get('id')}.pdf`
80+
const DEFAULT_URL = `uploads/${urlParams.get('id')}`
8181
document.getElementById("download").setAttribute("href", DEFAULT_URL)
8282
run()
8383

0 commit comments

Comments
 (0)