WebFileServer
Changes
FileServer/SPA/src/JS/Tools/Configuration.js 18(+17 -1)
Details
FileServer/SPA/src/JS/Tools/Configuration.js 18(+17 -1)
diff --git a/FileServer/SPA/src/JS/Tools/Configuration.js b/FileServer/SPA/src/JS/Tools/Configuration.js
index 0e993be..5c3dbd2 100644
--- a/FileServer/SPA/src/JS/Tools/Configuration.js
+++ b/FileServer/SPA/src/JS/Tools/Configuration.js
@@ -7,7 +7,7 @@ export default class Configuration {
static OpenRegisteredExtension =
[
{
- Ext: ['.txt', '.doc', '.docx', '.xls', '.xlsx', '.pdf', '.ppt', '.pptx'],
+ Ext: ['.txt', '.doc', '.docx', '.xls', '.xlsx', '.pdf'/*, '.ppt', '.pptx'*/],
Service: function (url)
{
let u = 'http://docs.google.com/viewer?url=' + url;
@@ -23,6 +23,22 @@ export default class Configuration {
);
}
},
+ //{
+ // Ext: ['.ppt', '.pptx'],
+ // Service: function (url) {
+ // let u = 'https://ppt.online-reader.com//view?url=' + url;
+
+ // if (Configuration.EnviromentValue == 'Development') {
+ // console.log(u);
+ // //debugger;
+ // }
+
+ // window.open(
+ // u,
+ // '_blank'
+ // );
+ // }
+ //},
{
Ext: ['.jpg', '.png', '.jpeg', '.bmp', '.gif'],
Service: function (url) {