How to open a file instead of downloading?

I want to open file by default web-browser like …/preview as image file.

But can’t do it with pdf file.

Is there any way to do that?


Please search in your Nextcloud GUI admin apps panel the app “pdf viewer” and activate it.

GitHub - nextcloud/files_pdfviewer: A PDF viewer for Nextcloud