Skip to content

Commit

Permalink
chore: 停用API
Browse files Browse the repository at this point in the history
  • Loading branch information
zkz098 committed Dec 31, 2024
1 parent fbd93c7 commit 5bb1001
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 18 deletions.
12 changes: 1 addition & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,14 @@
# 📣 公告
[你的 ShokaX 和 Shoka 站点可能正在遭遇供应链攻击](https://github.com/theme-shoka-x/hexo-theme-shokaX/discussions/293) \
[关于 ShokaX 部署平台和 Astro 迁移的调查](https://github.com/theme-shoka-x/hexo-theme-shokaX/discussions/229)

# hexo-theme-shokaX
![LICENSE]( https://img.shields.io/github/license/theme-shoka-x/hexo-theme-shokaX)
![stars](https://img.shields.io/github/stars/theme-shoka-x/hexo-theme-shokaX)
![version](https://shields.io/npm/v/hexo-theme-shokax)
![build](https://img.shields.io/github/actions/workflow/status/theme-shoka-x/hexo-theme-shokaX/build-theme.yml)

#### 语言(language): 简体中文 | [English](./README_en.MD) \
此项目是shoka的一个二次开发版(算精神续作),致力于提高性能和优化魔改体验 \
诞生原因是目前shoka已经三年没有更新了,积压了大量BUG和功能请求。
此项目是shoka的一个二次开发版(算精神续作),致力于提高性能和优化魔改体验

shokaX的社区资源导航和插件仓库为[awesome-shokaX](https://github.com/theme-shoka-x/awesome-shokaX)

## 💬 和shoka的区别
原先shoka使用了javascript+Native+nunjucks的技术 \
而shokaX则使用了typescript+Vue 3+Pug的技术搭配 \
更改了大量难以访问的CDN链接

## ✨ 功能清单

| 功能名称 | 实现状态 | 功能名称 | 实现状态 |
Expand Down
4 changes: 0 additions & 4 deletions README_en.MD
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
# 📣 Announcement
[Your ShokaX and Shoka sites might be under a supply chain attack](https://github.com/theme-shoka-x/hexo-theme-shokaX/discussions/293) \
[Survey on ShokaX deployment platform and Astro migration](https://github.com/theme-shoka-x/hexo-theme-shokaX/discussions/229)

# hexo-theme-shokaX
![LICENSE](https://img.shields.io/github/license/theme-shoka-x/hexo-theme-shokaX)
![stars](https://img.shields.io/github/stars/theme-shoka-x/hexo-theme-shokaX)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hexo-theme-shokax",
"version": "0.4.16",
"version": "0.4.17",
"description": "a hexo theme based on shoka",
"main": "index.js",
"repository": "https://github.com/theme-shoka-x/hexo-theme-shokaX",
Expand Down
4 changes: 2 additions & 2 deletions scripts/plugin/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ hexo.on('generateBefore', () => {

hexo.on('generateAfter', () => {
// 检查版本更新
fetch('https://api.shokax.top/version/hexo', {headers: {
"User-Agent": "Mozilla/5.0 ShokaX Client (hexo-theme-shokax)"
fetch('https://registry.npmmirror.com/hexo-theme-shokax/latest', {headers: {
"User-Agent": "ShokaX Client (hexo-theme-shokax)"
}}).then((res) => {
res.json().then((resp) => {
try {
Expand Down

0 comments on commit 5bb1001

Please sign in to comment.