mirror of
https://git.mirrors.martin98.com/https://github.com/sub-store-org/Sub-Store.git
synced 2026-04-06 21:33:18 +08:00
refactor: Standardize error handling for RESTful APIs
This commit is contained in:
@@ -75,14 +75,13 @@ function doMigrationV2() {
|
||||
tfo: 'DEFAULT',
|
||||
scert: 'DEFAULT',
|
||||
'vmess aead': 'DEFAULT',
|
||||
'useless': 'DEFAULT',
|
||||
useless: 'DEFAULT',
|
||||
},
|
||||
};
|
||||
processes.forEach((p) => {
|
||||
if (p.type === 'Useless Filter') {
|
||||
quickSettingOperator.args.useless = 'ENABLED';
|
||||
}
|
||||
else if (p.type === 'Set Property Operator') {
|
||||
} else if (p.type === 'Set Property Operator') {
|
||||
const { key, value } = p.args;
|
||||
switch (key) {
|
||||
case 'udp':
|
||||
|
||||
Reference in New Issue
Block a user