Skip to content

Commit 45c2b32

Browse files
committed
fix:vercel
1 parent 91cfa1e commit 45c2b32

File tree

5 files changed

+10
-390
lines changed

5 files changed

+10
-390
lines changed

controllers/config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ async function generateSiteJSON(jsDir, requestHost, sub, subFilePath) {
1414
} else if (sub.mode === 1) {
1515
valid_files = valid_files.filter(it => !(new RegExp(sub.reg || '.*')).test(it));
1616
}
17-
let sort_file = path.join(path.dirname(subFilePath), `./order_common.txt`);
17+
let sort_file = path.join(path.dirname(subFilePath), `./order_common.html`);
1818
if (sub.sort) {
19-
sort_file = path.join(path.dirname(subFilePath), `./${sub.sort}.txt`);
19+
sort_file = path.join(path.dirname(subFilePath), `./${sub.sort}.html`);
2020
}
2121
if (existsSync(sort_file)) {
2222
console.log('sort_file:', sort_file);

custom.json

Lines changed: 4 additions & 194 deletions
Original file line numberDiff line numberDiff line change
@@ -1,66 +1,6 @@
11
{
2-
"sites_count": 24,
2+
"sites_count": 5,
33
"sites": [
4-
{
5-
"key": "drpyS_草榴社区[密]",
6-
"name": "草榴社区[密](DS)",
7-
"type": 4,
8-
"api": "http://localhost:5757/api/草榴社区[密]",
9-
"searchable": 2,
10-
"filterable": 1,
11-
"quickSearch": 0,
12-
"ext": ""
13-
},
14-
{
15-
"key": "drpyS_大象影视",
16-
"name": "大象影视(DS)",
17-
"type": 4,
18-
"api": "http://localhost:5757/api/大象影视",
19-
"searchable": 2,
20-
"filterable": 1,
21-
"quickSearch": 0,
22-
"ext": ""
23-
},
24-
{
25-
"key": "drpyS_动漫巴士[漫]",
26-
"name": "动漫巴士[漫](DS)",
27-
"type": 4,
28-
"api": "http://localhost:5757/api/动漫巴士[漫]",
29-
"searchable": 2,
30-
"filterable": 1,
31-
"quickSearch": 0,
32-
"ext": ""
33-
},
34-
{
35-
"key": "drpyS_番茄小说[书]",
36-
"name": "番茄小说[书](DS)",
37-
"type": 4,
38-
"api": "http://localhost:5757/api/番茄小说[书]",
39-
"searchable": 2,
40-
"filterable": 1,
41-
"quickSearch": 0,
42-
"ext": ""
43-
},
44-
{
45-
"key": "drpyS_番薯动漫",
46-
"name": "番薯动漫(DS)",
47-
"type": 4,
48-
"api": "http://localhost:5757/api/番薯动漫",
49-
"searchable": 2,
50-
"filterable": 1,
51-
"quickSearch": 0,
52-
"ext": ""
53-
},
54-
{
55-
"key": "drpyS_瓜子H5",
56-
"name": "瓜子H5(DS)",
57-
"type": 4,
58-
"api": "http://localhost:5757/api/瓜子H5",
59-
"searchable": 2,
60-
"filterable": 1,
61-
"quickSearch": 0,
62-
"ext": ""
63-
},
644
{
655
"key": "drpyS_黑料不打烊[密]",
666
"name": "黑料不打烊[密](DS)",
@@ -72,50 +12,10 @@
7212
"ext": ""
7313
},
7414
{
75-
"key": "drpyS_荐片",
76-
"name": "荐片(DS)",
77-
"type": 4,
78-
"api": "http://localhost:5757/api/荐片",
79-
"searchable": 2,
80-
"filterable": 1,
81-
"quickSearch": 0,
82-
"ext": ""
83-
},
84-
{
85-
"key": "drpyS_金牌影院",
86-
"name": "金牌影院(DS)",
87-
"type": 4,
88-
"api": "http://localhost:5757/api/金牌影院",
89-
"searchable": 2,
90-
"filterable": 1,
91-
"quickSearch": 0,
92-
"ext": ""
93-
},
94-
{
95-
"key": "drpyS_蓝莓短剧",
96-
"name": "蓝莓短剧(DS)",
97-
"type": 4,
98-
"api": "http://localhost:5757/api/蓝莓短剧",
99-
"searchable": 2,
100-
"filterable": 1,
101-
"quickSearch": 1,
102-
"ext": ""
103-
},
104-
{
105-
"key": "drpyS_老白故事[听]",
106-
"name": "老白故事[听](DS)",
107-
"type": 4,
108-
"api": "http://localhost:5757/api/老白故事[听]",
109-
"searchable": 2,
110-
"filterable": 1,
111-
"quickSearch": 0,
112-
"ext": ""
113-
},
114-
{
115-
"key": "drpyS_人人视频",
116-
"name": "人人视频(DS)",
15+
"key": "drpyS_草榴社区[密]",
16+
"name": "草榴社区[密](DS)",
11717
"type": 4,
118-
"api": "http://localhost:5757/api/人人视频",
18+
"api": "http://localhost:5757/api/草榴社区[密]",
11919
"searchable": 2,
12020
"filterable": 1,
12121
"quickSearch": 0,
@@ -141,96 +41,6 @@
14141
"quickSearch": 0,
14242
"ext": ""
14343
},
144-
{
145-
"key": "drpyS_素白白",
146-
"name": "素白白(DS)",
147-
"type": 4,
148-
"api": "http://localhost:5757/api/素白白",
149-
"searchable": 2,
150-
"filterable": 1,
151-
"quickSearch": 0,
152-
"ext": ""
153-
},
154-
{
155-
"key": "drpyS_腾云驾雾[官]",
156-
"name": "腾云驾雾[官](DS)",
157-
"type": 4,
158-
"api": "http://localhost:5757/api/腾云驾雾[官]",
159-
"searchable": 2,
160-
"filterable": 1,
161-
"quickSearch": 0,
162-
"ext": ""
163-
},
164-
{
165-
"key": "drpyS_星芽短剧",
166-
"name": "星芽短剧(DS)",
167-
"type": 4,
168-
"api": "http://localhost:5757/api/星芽短剧",
169-
"searchable": 2,
170-
"filterable": 1,
171-
"quickSearch": 1,
172-
"ext": ""
173-
},
174-
{
175-
"key": "drpyS_兄弟影视",
176-
"name": "兄弟影视(DS)",
177-
"type": 4,
178-
"api": "http://localhost:5757/api/兄弟影视",
179-
"searchable": 2,
180-
"filterable": 0,
181-
"quickSearch": 0,
182-
"ext": ""
183-
},
184-
{
185-
"key": "drpyS_雪糕TV",
186-
"name": "雪糕TV(DS)",
187-
"type": 4,
188-
"api": "http://localhost:5757/api/雪糕TV",
189-
"searchable": 2,
190-
"filterable": 1,
191-
"quickSearch": 0,
192-
"ext": ""
193-
},
194-
{
195-
"key": "drpyS_央视大全[官]",
196-
"name": "央视大全[官](DS)",
197-
"type": 4,
198-
"api": "http://localhost:5757/api/央视大全[官]",
199-
"searchable": 0,
200-
"filterable": 1,
201-
"quickSearch": 0,
202-
"ext": ""
203-
},
204-
{
205-
"key": "drpyS_ikanbot",
206-
"name": "ikanbot(DS)",
207-
"type": 4,
208-
"api": "http://localhost:5757/api/ikanbot",
209-
"searchable": 2,
210-
"filterable": 1,
211-
"quickSearch": 0,
212-
"ext": ""
213-
},
214-
{
215-
"key": "drpyS_OmoFun[漫]",
216-
"name": "OmoFun[漫](DS)",
217-
"type": 4,
218-
"api": "http://localhost:5757/api/OmoFun[漫]",
219-
"searchable": 2,
220-
"filterable": 1,
221-
"quickSearch": 0,
222-
"ext": ""
223-
},
224-
{
225-
"key": "drpyS_PTT[优]",
226-
"name": "PTT[优](DS)",
227-
"type": 4,
228-
"api": "http://localhost:5757/api/PTT[优]",
229-
"searchable": 2,
230-
"filterable": 1,
231-
"quickSearch": 0,
232-
"ext": ""
233-
},
23444
{
23545
"key": "drpyS_xvideos[密]",
23646
"name": "xvideos[密](DS)",

0 commit comments

Comments
 (0)