Skip to content
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

[Bug]: 由于 npm js 上游更新导致 GET 404 #156

Closed
SmallKi-d opened this issue Nov 29, 2023 · 5 comments
Closed

[Bug]: 由于 npm js 上游更新导致 GET 404 #156

SmallKi-d opened this issue Nov 29, 2023 · 5 comments
Labels
question Further information is requested

Comments

@SmallKi-d
Copy link

SmallKi-d commented Nov 29, 2023

使用的 AnZhiYu 版本? | What version of AnZhiYu are you use?

1.6.10

使用的浏览器? || What browse are you using?

Chrome

是否修改过主题文件? || Has the theme files been modified?

不是 (No)

使用的系统? || What operating system are you using?

macOS

问题描述 | Describe the bug

在默认 CDN 情况下,出现了找不到 CDN 的情况,如图:

image

目前自行的解决方案是全部采用 custom CDN 并将版本号更改为 latest

出现问题的网站 | Website

blog.kclub.tech (已自行更换 CDN )

@SmallKi-d
Copy link
Author

SmallKi-d commented Nov 29, 2023

同时 elemecdn 的 npm 包版本过于滞后,如果直接获取 latest 的 js 的话,以 instantsearch.js 为例, elemecdn 差了 20余个版本

@anzhiyu-c
Copy link
Owner

可以通过配置CDN选项来修改。

@anzhiyu-c anzhiyu-c added the question Further information is requested label Dec 5, 2023
@anzhiyu-c
Copy link
Owner

Hello @SmallKi-d, please input issue by template and add detail. Issues labeled by Need More Info will be closed if no activities in 7 days.
你好 @SmallKi-d,请按照issue模板填写, 并详细说明问题和复现步骤等, 60天内未回复issue自动关闭。

@SmallKi-d
Copy link
Author

那样默认CDN无效的话,就没有存在的意义了

@anzhiyu-c
Copy link
Owner

默认cdn版本在很久之前就已经不是elemecdn了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants