|
本帖最后由 chenchen 于 2022-11-23 17:29 编辑
1.打开文件的时候被浏览器拦截,提示不安全,对于这个问题,谷歌浏览器直接使空白的,代码是:
{
"storageFolder":"",
"storageFolderTemplate":"",
"storageFolderIndex":"",
"storageFolderMark":"",
"docbuilderEXEPath":"C:/ONLYOFFICE/DocumentBuilder/docbuilder.exe",
"filesizeMax":"5242880",
"timeout":"120000",
"docserviceViewedDocs":".pdf|.djvu|.xps",
"docserviceEditedDocs":".docx|.xlsx|.csv|.pptx|.txt",
"docserviceConvertDocs":".docm|.dotx|.dotm|.dot|.doc|.odt|.fodt|.ott|.xlsm|.xltx|.xltm|.xlt|.xls|.ods|.fods|.ots|.pptm|.ppt|.ppsx|.ppsm|.pps|.potx|.potm|.pot|.odp|.fodp|.otp|.rtf|.mht|.html|.htm|.epub",
"docserviceConverter":"http://document.o2oa.net/ConvertService.ashx",
"docserviceTempstorage":"http://document.o2oa.net/ResourceService.ashx",
"docserviceApi":"http://document.o2oa.net/web-apps/apps/api/documents/api.js",
"docservicePreloader":"http://document.o2oa.net/web-apps/apps/api/documents/cache-scripts.html",
"scheme":"http",
"secret":"secreto2oa",
"header":"Authorization",
"ipWhiteList":"",
"callbackUrl":"",
"gobackUrl":"https://www.vanbowoas.com",
"rmi":"false",
"rmiPort":"2099",
"searchIndexCreate":"true",
"searchRangeCount":"12",
"searchReturnCount":"100"
}
2.修改一下代码,改完后直接报错,代码是:
{
"rmi":"true",
"filesizeMax": "5242880",
"timeout": "120000",
"rmiPort": "2099",
"searchRangeCount": "12",
"searchReturnCount": "100",
"storageFolder": "file:///data/o2server/local/repository/storage/onlyoffice",
"storageFolderTemplate": "file:///data/o2server/local/repository/storage/onlyoffice",
"storageFolderIndex": "file:///data/o2server/local/repository/storage/onlyoffice/index",
"storageFolderMark": "file:///data/o2server/local/repository/storage/onlyoffice/mark",
"docbuilderEXEPath": "",
"docserviceViewedDocs": ".pdf|.djvu|.xps",
"docserviceEditedDocs": ".docx|.xlsx|.csv|.pptx|.txt",
"docserviceConvertDocs": ".docm|.dotx|.dotm|.dot|.doc|.odt|.fodt|.ott|.xlsm|.xltx|.xltm|.xlt|.xls|.ods|.fods|.ots|.pptm|.ppt|.ppsx|.ppsm|.pps|.potx|.potm|.pot|.odp|.fodp|.otp|.rtf|.mht|.html|.htm|.epub",
"docserviceConverter": "http://onlyoffice.o2oa.net/ConvertService.ashx",
"docserviceTempstorage": "http://onlyoffice.o2oa.net/ResourceService.ashx",
"docserviceApi": "http://onlyoffice.o2oa.net/web-apps/apps/api/documents/api.js",
"docservicePreloader": "http://onlyoffice.o2oa.net/web-apps/apps/api/documents/cache-scripts.html",
"secret": "secreto2oa",
"gobackUrl": "http://www.vanbowoas.com",
"ipWhiteList":"",
"callbackUrl": ""
}
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?立即注册
x
|