fix: 修复 Clash/SSR 订阅生成器的多个问题
- 按 server:port 过滤 disabled 节点,使节点开关对 Clash/SSR 生效 - 静态节点使用自定义名称(而非 URI 内嵌名),且置于列表最前 - Clash 配置注入自定义规则到 rules: 段顶部 - Clash/SSR 端点 Content-Disposition filename 改为 IPLC.MAX Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -51,7 +51,7 @@ app.get('/clash/:token', (req, res) => {
|
||||
const config = generateClashConfig();
|
||||
res.set({
|
||||
'Content-Type': 'text/plain; charset=utf-8',
|
||||
'Content-Disposition': 'attachment; filename=clash.yaml',
|
||||
'Content-Disposition': 'attachment; filename=IPLC.MAX.yaml',
|
||||
});
|
||||
res.send(config);
|
||||
});
|
||||
@@ -62,7 +62,7 @@ app.get('/ssr/:token', (req, res) => {
|
||||
const config = generateSSRConfig();
|
||||
res.set({
|
||||
'Content-Type': 'text/plain; charset=utf-8',
|
||||
'Content-Disposition': 'attachment; filename=proxy.txt',
|
||||
'Content-Disposition': 'attachment; filename=IPLC.MAX.txt',
|
||||
});
|
||||
res.send(config);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user