[ERROR] Files_PDFViewer: But this does not appear to be a public page
Object { app: "Files_PDFViewer", level: 0 }
index.mjs:54:16
log index.mjs:54
error index.mjs:72
<anonymous> public.js:76
(Async: EventListener.handleEvent)
<anonymous> public.js:13
<anonymous> files_pdfviewer-public.js:1
<anonymous> files_pdfviewer-public.js:1
With Nextcloud 31 also the public share frontend is migrated to the files Vue UI. This app seems to work, but there is an error in the console:
Maybe you can use this for public share detection: https://nextcloud-libraries.github.io/nextcloud-sharing/functions/public.isPublicShare.html
Steps to reproduce
Expected behaviour
No error in console.
Actual behaviour
Server configuration
PHP version: 8.3
Nextcloud version: 31
Where did you install Nextcloud from: Git