]> _ Git - odl.git/commitdiff
wip #5005
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 6 Jan 2022 19:18:13 +0000 (20:18 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 6 Jan 2022 19:18:13 +0000 (20:18 +0100)
resources/views/front/resources.blade.php

index 8f5a1fd921b4d2efd84c25989e3d0aee0dc878db..c975190900e497478e6ff07bfcd282407e77b4cf 100644 (file)
@@ -29,6 +29,7 @@
         },
 
         openPDF(PDF_URL, updateQuerystring = true) {
+            PDF_URL=PDF_URL.replace('./storage','../../../storage');
             if (updateQuerystring) {
                 const location = new URL(window.location.href);
                 location.searchParams.set('file', PDF_URL);