#885 add enviroment variable for media viewer

This commit is contained in:
Dániel Péter Sipos
2020-11-06 11:05:20 +01:00
parent ae079f06ed
commit af79945fd8
12 changed files with 76 additions and 27 deletions

View File

@@ -217,4 +217,9 @@ export const environment: GlobalConfig = {
},
// Whether the UI should rewrite file download URLs to match its domain. Only necessary to enable when running UI and REST API on separate domains
rewriteDownloadUrls: false,
mediaViewer: {
enable: true,
image: true,
video: true,
},
};