Skip to content

[Bug] 部分 CDN 资源固定为 aliyun #258

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

Open
sxjeru opened this issue Feb 1, 2025 · 2 comments
Open

[Bug] 部分 CDN 资源固定为 aliyun #258

sxjeru opened this issue Feb 1, 2025 · 2 comments
Labels
🐛 Bug Something isn't working | 缺陷 Inactive No response in 30 days | 超过 30 天未活跃

Comments

@sxjeru
Copy link
Contributor

sxjeru commented Feb 1, 2025

💻 系统环境 | Operating System

Windows

🌐 浏览器 | Browser

Chrome

🐛 问题描述 | Bug Description

下面的 CDN 资源链接固定为 aliyun,即便 proxy 设置为了 unpkg 。

const webfontUrls = useMemo(
() =>
customFonts || [
genCdnUrl({ path: 'css/index.css', pkg: '@lobehub/webfont-mono' }),
genCdnUrl({
path: 'css/index.css',
pkg: '@lobehub/webfont-harmony-sans',
}),
genCdnUrl({
path: 'css/index.css',
pkg: '@lobehub/webfont-harmony-sans-sc',
}),
genCdnUrl({ path: 'dist/katex.min.css', pkg: 'katex' }),
],
[customFonts, genCdnUrl],
);

🚦 期望结果 | Expected Behavior

No response

📷 复现步骤 | Recurrence Steps

No response

📝 补充信息 | Additional Information

相关:lobehub/lobe-chat#3699 (reply in thread)

@sxjeru sxjeru added the 🐛 Bug Something isn't working | 缺陷 label Feb 1, 2025
@lobehubbot
Copy link
Member

👀 @sxjeru
Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible.
Please make sure you have given us as much context as possible.
非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

@AnotiaWang
Copy link

AnotiaWang commented Feb 24, 2025

LobeChat 的首页 loading placeholder 的 logo 也不会跟随 CDN_USE_GLOBAL 变化,希望可以修复

https://registry.npmmirror.com/@lobehub/assets-logo/1.2.0/files/assets/logo-3d.webp

相关信息: lobehub/lobe-chat#2730 (reply in thread)

@lobehubbot lobehubbot added the Inactive No response in 30 days | 超过 30 天未活跃 label Mar 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working | 缺陷 Inactive No response in 30 days | 超过 30 天未活跃
Projects
None yet
Development

No branches or pull requests

3 participants