From: Vincent Vanwaelscappel Date: Thu, 6 Jan 2022 19:18:13 +0000 (+0100) Subject: wip #5005 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=b05901011807bfe4cc1dd6e4b8e9937bc93a1f9b;p=odl.git wip #5005 --- diff --git a/resources/views/front/resources.blade.php b/resources/views/front/resources.blade.php index 8f5a1fd..c975190 100644 --- a/resources/views/front/resources.blade.php +++ b/resources/views/front/resources.blade.php @@ -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);