We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9294512 commit 57dd601Copy full SHA for 57dd601
1 file changed
frontend/src/utils/generator.ts
@@ -8,7 +8,6 @@ import {
8
LogLevel,
9
Outbound,
10
RuleAction,
11
- RuleActionReject,
12
RulesetType,
13
RuleType,
14
Strategy,
@@ -371,15 +370,7 @@ export const generateDnsServerURL = (dnsServer: IDNSServer) => {
371
370
return address
372
}
373
374
-const _adaptToStableBranch = (config: Recordable) => {
375
- config.route.rules.forEach((rule: Recordable) => {
376
- if (rule.action === RuleAction.Reject) {
377
- if (rule.method === RuleActionReject.Reply) {
378
- delete rule.method
379
- }
380
381
- })
382
-}
+const _adaptToStableBranch = (_: Recordable) => {}
383
384
export const generateConfig = async (originalProfile: IProfile, adaptToStableCore?: boolean) => {
385
const profile = deepClone(originalProfile)
0 commit comments