AlistGo / alist

🗂️A file list/WebDAV program that supports multiple storages, powered by Gin and Solidjs. / 一个支持多存储的文件列表/WebDAV程序,使用 Gin 和 Solidjs。
https://alist.nn.ci
GNU Affero General Public License v3.0
44.4k stars 5.76k forks source link

部分md文档链接无法正确显示内容 #7246

Open im-dashan opened 2 months ago

im-dashan commented 2 months ago

Please make sure of the following things

AList Version / AList 版本

最新版

Driver used / 使用的存储驱动

OneDrive

Describe the bug / 问题描述

Failed to fetch https://gitlab.com/mni.dashan/Notes/-/raw/main/Environment/Git.md: AxiosError: Network Error

Reproduction / 复现链接

Failed to fetch https://gitlab.com/mni.dashan/Notes/-/raw/main/Environment/Git.md: AxiosError: Network Error

Config / 配置

Failed to fetch https://gitlab.com/mni.dashan/Notes/-/raw/main/Environment/Git.md: AxiosError: Network Error

Logs / 日志

Failed to fetch https://gitlab.com/mni.dashan/Notes/-/raw/main/Environment/Git.md: AxiosError: Network Error

Simonzhang8 commented 2 months ago

链接需要支持CORS

6682

im-dashan commented 2 months ago

链接需要支持CORS #6682 谢谢知道了,这个cors可以在alist中处理吗?

TimingBule commented 1 month ago

同样更新后遇到这个问题,在元信息里单独指定说明也不行,看了几个issue没看懂--请问楼主最后是怎么解决的~

im-dashan commented 1 month ago

是因为没有 cors 导致的,用 github 或者 gitlab 都可以使用 cloudflare workers 搭建一个代理然后添加 cors,头部,可以解决

Tim @.***>于2024年10月15日 周二03:54写道:

同样更新后遇到这个问题,在元信息里单独指定说明也不行,看了几个issue没看懂--请问楼主最后是怎么解决的~

— Reply to this email directly, view it on GitHub https://github.com/alist-org/alist/issues/7246#issuecomment-2412092266, or unsubscribe https://github.com/notifications/unsubscribe-auth/BDUNCN44SLHFI6UXFJWTTFLZ3QOPTAVCNFSM6AAAAABOTVD5QWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJSGA4TEMRWGY . You are receiving this because you authored the thread.Message ID: @.***>