vscode软件settings.json报错怎么办?
大概意思是这个raw.githubusercontent.com网站无法访问,然后搜了一下,要修改hosts文件,做法见如下:
把以下内容添加到hosts文件中
151
.101
.76
.133 raw
.githubusercontent
.com
如何修改
最简单的就是用火绒直接进行修改
Windows下hosts文件位置:C:/windows/system32/drivers/etc/hosts。
将前文内容追加到hosts,然后刷新DNS缓存:
ipconfig
/flushdns
参考文章:解决GitHub网页githubusercontent地址无法访问问题