KKfileview预览服务接入,无需部署中间件及修改页面元素 #6970
zanzhz1101
started this conversation in
General
Replies: 3 comments 7 replies
-
非常棒的方案,感谢分享。 |
Beta Was this translation helpful? Give feedback.
1 reply
-
当文件名是中文的时候会返回401报错呢 |
Beta Was this translation helpful? Give feedback.
6 replies
-
|
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
首先部署好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