-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
希望添加对无后缀文件的预览选项 #6417
Labels
enhancement
New feature or request
Comments
Thanks for opening your first issue here! Be sure to follow the issue template! |
@xhofe 我也有类似需求,你觉得以下方式哪种比较好?
|
Sakura-Byte
added a commit
to Sakura-Byte/alist-web
that referenced
this issue
May 11, 2024
Enable Text Editor for Unknown file, while making Download stays at the first place for Unknown files. (close: AlistGo/alist#6417)
使用说明( 后续会补充到文档里 ): 请求参数加
示例: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please make sure of the following things
Description of the feature / 需求描述
诸如
Dockerfile
等文件固定为文本文件,但是当前的 alist 只能设置后缀名Suggested solution / 实现思路
希望对“预览”配置增加一个根据文件名(或其正则)的配置(而不仅仅是根据后缀名来设置)
或者在前端能够支持
?type=txt
的 URL 参数Additional context / 附件
No response
The text was updated successfully, but these errors were encountered: