foxxorcat
foxxorcat
本来想直接就返回正确的文件信息的,但奈何蓝奏云api太脆弱只能在获取链接的时候修改信息ψ(`∇´)ψ.
#### Description: When the DNS TXT record resolves the address itself, it will trigger. This address is probably found through DHT. `/dnsaddr/ipfs.labs.scw.cloud/p2p/12D3KooWEWUM6sQdtJA8zBnQn5QRM3yRrKUkZKJuJd2ycjwHUYcU`  https://github.com/libp2p/js-libp2p/blob/ee7ffe9b9209d1ef0ffbd71389216b69e832b126/packages/libp2p/src/connection-manager/utils.ts#L7-L20
### Description(required) 1. 实现的XMLHttpRequest中的getResponseHeader方法有误,搜索的报文名应该不区分大小写。 go默认是大写开头,superagent用的是全小写。(使用axios时设置cookie头会报错可能是这个问题??? 2. 只实现 globalThis ,但superagent使用的是window或self。(这个问题应该是superagent的??? #### 暂时解决方法 2. 指定 getXHR ```js superagent.getXHR = () => new XMLHttpRequest() ``` ### App Version(required) 1.5.7
修复: #6857 问题原因: 蓝奏云屏蔽User-Agent(直接屏蔽不会误杀吗? 修复方案:允许指定User-Agent