name: Github 文件类型优化 desc: |- - 修改 github 仓库文件资源的文件类型 category: debug icon: https://raw.githubusercontent.com/qsoyq/icons/main/assets/icon/github.png http: mitm: - "raw.githubusercontent.com" header-rewrite: # 修改 github 仓库文件类型 - https://raw.githubusercontent.com/.*.js[^/]*$ response-del content-type - https://raw.githubusercontent.com/.*.js[^/]*$ response-add content-type application/javascript;charset=utf-8 - https://raw.githubusercontent.com/.*.gif[^/]*$ response-del content-type - https://raw.githubusercontent.com/.*.gif[^/]*$ response-add content-type image/gif