Use jsdelivr cdn

This commit is contained in:
2025-02-05 20:27:23 +08:00
parent 139288c064
commit c6a347d599
9 changed files with 9 additions and 9 deletions

View File

@@ -10,7 +10,7 @@ class Baozi extends ComicSource {
minAppVersion = "1.0.0"
// 更新链接
url = "https://raw.githubusercontent.com/venera-app/venera-configs/refs/heads/main/baozi.js"
url = "https://cdn.jsdelivr.net/gh/venera-app/venera-configs@latest/baozi.js"
/// APP启动时或者添加/更新漫画源时执行此函数
init() {}

View File

@@ -8,7 +8,7 @@ class CopyManga extends ComicSource {
minAppVersion = "1.0.0"
url = "https://raw.githubusercontent.com/venera-app/venera-configs/refs/heads/main/copy_manga.js"
url = "https://cdn.jsdelivr.net/gh/venera-app/venera-configs@latest/copy_manga.js"
headers = {}

View File

@@ -12,7 +12,7 @@ class Ehentai extends ComicSource {
minAppVersion = "1.0.0"
// update url
url = "https://raw.githubusercontent.com/venera-app/venera-configs/refs/heads/main/ehentai.js"
url = "https://cdn.jsdelivr.net/gh/venera-app/venera-configs@latest/ehentai.js"
/**
* cached api key

View File

@@ -11,7 +11,7 @@ class NewComicSource extends ComicSource { // 首行必须为class...
minAppVersion = "1.0.0"
// 更新链接
url = "https://raw.githubusercontent.com/venera-app/venera-configs/refs/heads/main/ikmmh.js"
url = "https://cdn.jsdelivr.net/gh/venera-app/venera-configs@latest/ikmmh.js"
/// APP启动时或者添加/更新漫画源时执行此函数
init() {

2
jm.js
View File

@@ -12,7 +12,7 @@ class JM extends ComicSource {
minAppVersion = "1.2.1"
// update url
url = "https://raw.githubusercontent.com/venera-app/venera-configs/refs/heads/main/jm.js"
url = "https://cdn.jsdelivr.net/gh/venera-app/venera-configs@latest/jm.js"
static apiDomains = [
"www.jmapiproxyxxx.vip",

View File

@@ -11,7 +11,7 @@ class Komiic extends ComicSource {
minAppVersion = "1.0.0"
// 更新链接
url = "https://raw.githubusercontent.com/venera-app/venera-configs/refs/heads/main/komiic.js"
url = "https://cdn.jsdelivr.net/gh/venera-app/venera-configs@latest/komiic.js"
get headers() {
let token = this.loadData('token')

View File

@@ -12,7 +12,7 @@ class Nhentai extends ComicSource {
minAppVersion = "1.0.0"
// update url
url = "https://raw.githubusercontent.com/venera-app/venera-configs/refs/heads/main/nhentai.js"
url = "https://cdn.jsdelivr.net/gh/venera-app/venera-configs@latest/nhentai.js"
baseUrl = "https://nhentai.net"

View File

@@ -7,7 +7,7 @@ class Picacg extends ComicSource {
minAppVersion = "1.0.0"
url = "https://raw.githubusercontent.com/venera-app/venera-configs/refs/heads/main/picacg.js"
url = "https://cdn.jsdelivr.net/gh/venera-app/venera-configs@latest/picacg.js"
api = "https://picaapi.picacomic.com"

View File

@@ -12,7 +12,7 @@ class Wnacg extends ComicSource {
minAppVersion = "1.0.0"
// update url
url = "https://raw.githubusercontent.com/venera-app/venera-configs/refs/heads/main/wnacg.js"
url = "https://cdn.jsdelivr.net/gh/venera-app/venera-configs@latest/wnacg.js"
get baseUrl() {
return `https://${this.loadSetting('domain')}`