KKfileview预览服务接入,无需部署中间件及修改页面元素 #6970
zanzhz1101
started this conversation in
General
Replies: 1 comment
-
非常棒的方案,感谢分享。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
首先部署好kkfileview,官方文档https://kkfileview.keking.cn/zh-cn/docs/home.html
我的本地部署服务器为192.168.0.21,预览服务接入地址为http://192.168.0.21:8012/onlinePreview?url='+encodeURIComponent(base64Encode(url))
Alist==》Alist管理==》设置==》预览==》Iframe 预览
删除原有预览,填入以下内容:
保存即可实现文件预览
Beta Was this translation helpful? Give feedback.
All reactions