Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] 希望url为nullnode时,all_base.tpl模板不添加proxies字段 #797

Open
3 tasks done
hu1994101 opened this issue Nov 7, 2024 · 2 comments
Open
3 tasks done

Comments

@hu1994101
Copy link

verify

  • 我已经仔细阅读项目文档,确认现有功能无法解决我的需求
  • 我已经检索过现有issue,确认与现有issue的内容并不重复
  • 我已经尝试自行解决,确认自己没有能力解决

功能描述

当url为nullnode时,all_base.tpl模板不应该添加proxies字段,这样后续也能阻止生成proxies字段

可能的解决方案

修改all_base.tpl模板应该可以实现

@tindy2013
Copy link
Owner

https://github.com/tindy2013/subconverter/blob/master/src/generator/config/subexport.cpp#L510 无论有没有节点这里都会调一次插入

@hu1994101
Copy link
Author

https://github.com/tindy2013/subconverter/blob/master/src/generator/config/subexport.cpp#L510 无论有没有节点这里都会调一次插入

后续版本更新可以把这个地方优化一下吗?如果url是nullnode就不添加proxies字段,感谢🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants