kkFileView icon indicating copy to clipboard operation
kkFileView copied to clipboard

Universal File Online Preview Project based on Spring-Boot

Results 248 kkFileView issues
Sort by recently updated
recently updated
newest added

Office组件进程,默认是2个,可以根据什么判断应该启动多少个Office进程吗?

请问,cloudreve中使用office如何配置,它的相关设置的地方如下图,地址显示不全,但不会配置,请高人指点 ![微信截图_20220124192102](https://user-images.githubusercontent.com/62681289/150773940-04b480f7-2806-4b93-9d41-b44ef53fe136.png)

版本: kkFileView-4.1.0-SNAPSHOT 部署方式: docker 测试一个包含 invoice.pdf 的zip包, zip包目录列表正常预览, 但是点击里面的文件报无法预览(pdf文件类型)和 301错误(docx文件). 错误日志: ``` 2021-12-22 01:48:06.952 INFO 1 --- [p416153648-2621] c.k.w.c.OnlinePreviewController : 预览文件url:http://192.168.254.8:8013/0400e4fed5336485.zip_invoice.pdf?fileKey=0400e4fed5336485.zip,previewType:PDF 2021-12-22 01:48:06.955 ERROR 1 --- [p416153648-2621] cn.keking.service.FileHandlerService : Convert...

Whitelabel Error Page This application has no explicit mapping for /error, so you are seeing this as a fallback. Mon Dec 20 16:44:55 CST 2021 There was an unexpected error...

大概1000人使用,只是安装kkfileview的服务,建议配置什么比较合适?1core,2gram可以么

http://127.0.0.1:8012/onlinePreview?url=http://127.0.0.1:8000/d1/case.docx http://127.0.0.1:8012/onlinePreview?url=http://127.0.0.1:8000/d9/case.pdf 上面两个url不同,文件内容也不同,下载到本地的文件打开,内容也不相同,但是文件预览结果相同

认真debug后发现是多个问号的切割取值导致有bug,一点修改后暂时修复这个问题 /** * 去掉url中的路径,留下请求参数部分**[采用截取方式]** * * @param strURL url地址 * @return url请求参数部分 */ private static String truncateUrlPage(String strURL) { String strAllParam = null; strURL = strURL.trim(); Matcher matcher = Pattern.compile("\\?").matcher(strURL);...

比如一个服务的文件下载URL:http://xxx/download?name=abc.txt 在浏览器中访问是直接下载文件的, 但是通过预览识别出来类型是download,所以类型识别错误。

**如题,修改了context后,PPTX 文件无法预览** ![kview_01](https://user-images.githubusercontent.com/34680571/144047383-033de491-4864-413c-bce6-1b18ed040aeb.png) ![kview_02](https://user-images.githubusercontent.com/34680571/144047354-67c39061-9a63-497a-81fd-26520f998815.png) 配置文件,只修改了context ``` #######################################不可动态配置,需要重启生效####################################### server.port = ${KK_SERVER_PORT:8012} server.servlet.context-path= ${KK_CONTEXT_PATH:/preview} server.servlet.encoding.charset = utf-8 ```