Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 155
Expand file tree
/
Copy pathscriptMap.js
More file actions
Latest commit
19 lines (18 loc) · 802 Bytes
/
Copy pathscriptMap.js
File metadata and controls
19 lines (18 loc) · 802 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
constscriptMap={
'./script-hub.js': /^https?:\/\/script\.hub\/($|edit\/|reload)/,
'./Rewrite-Parser.js':
/^https?:\/\/script\.hub\/file\/_start_\/.+type=(qx-rewrite|loon-plugin|surge-module|all-module)/,
'./rule-parser.js': /^https?:\/\/script\.hub\/file\/_start_\/.+type=rule-set/,
'./script-converter.js': /^https?:\/\/script\.hub\/convert\//,
}
constscriptMapBeta={
'./script-hub.beta.js': /^https?:\/\/script\.hub\/($|edit\/|reload)/,
'./Rewrite-Parser.beta.js':
/^https?:\/\/script\.hub\/file\/_start_\/.+type=(qx-rewrite|loon-plugin|surge-module|all-module)/,
'./rule-parser.beta.js': /^https?:\/\/script\.hub\/file\/_start_\/.+type=rule-set/,
'./script-converter.beta.js': /^https?:\/\/script\.hub\/convert\//,
}
module.exports={
scriptMap,
scriptMapBeta,
}