We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 542285f commit 4e6d6deCopy full SHA for 4e6d6de
src/modules/subscription-template/render-templates.service.ts
@@ -71,7 +71,11 @@ export class RenderTemplatesService {
71
72
case 'MIHOMO':
73
return {
74
- sub: await this.mihomoGeneratorService.generateConfig(formattedHosts, false),
+ sub: await this.mihomoGeneratorService.generateConfig(
75
+ formattedHosts,
76
+ false,
77
+ /^FlClash X\//.test(userAgent),
78
+ ),
79
contentType: configParams.CONTENT_TYPE,
80
};
81
@@ -147,7 +151,7 @@ export class RenderTemplatesService {
147
151
sub: await this.mihomoGeneratorService.generateConfig(
148
152
formattedHosts,
149
153
false,
150
- /^FlClashX\//.test(userAgent),
154
155
),
156
contentType: SUBSCRIPTION_CONFIG_TYPES.MIHOMO.CONTENT_TYPE,
157
0 commit comments