alist-org / 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
41.92k stars 5.41k forks source link

最新beta版本前端文件配置了cdn会导致前端无法渲染 #7069

Closed lm379 closed 2 weeks ago

lm379 commented 3 weeks ago

Please make sure of the following things

AList Version / AList 版本

AList Beta Version

Driver used / 使用的存储驱动

任何

Describe the bug / 问题描述

使用最新的AList Beta Version,在config.json中的cdn字段配置了npm镜像https://registry.npmmirror.com/alist-web/$version/files/dist/,疑似因为version字段获取失败导致前端一片空白 删除cdn字段或手动指定verison字段即恢复正常

Reproduction / 复现链接

http://127.0.0.1:5244/

Config / 配置

{ "force": false, "site_url": "", "cdn": "https://registry.npmmirror.com/alist-web/$version/files/dist/", "jwt_secret": "X8ADb6ZSDnJfBbeM", "token_expires_in": 48, "database": { "type": "sqlite3", "host": "", "port": 0, "user": "", "password": "", "name": "", "db_file": "data/data.db", "tableprefix": "x", "ssl_mode": "", "dsn": "" },

Logs / 日志

No response

xhofe commented 3 weeks ago

beta版本不提供cdn,仅稳定版提供