Skip to content

Commit

Permalink
tmp: debug text viewer handler registration
Browse files Browse the repository at this point in the history
Signed-off-by: Julius Härtl <[email protected]>
  • Loading branch information
juliusknorr committed Aug 14, 2024
1 parent 38f90ba commit 3cd30b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/viewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ function AsyncTextViewerComponent() {
if (typeof OCA.Viewer === 'undefined') {
logger.error('Viewer app is not installed')
} else {
logger.error('register text viewer handler')
OCA.Viewer.registerHandler({
id: 'text',
mimes: [...openMimetypesMarkdown, ...openMimetypesPlainText],
Expand Down

0 comments on commit 3cd30b6

Please sign in to comment.