我在windows环境下用geth搭建了一个私有链,里面部署了一个简单的投票合约,然后js文件里设置了web3 = new Web3(new Web3.providers.HttpProvider("http://localhost:8545"));,但是前端浏览器显示Access to XMLHttpRequest at 'http://localhost:8545/' from origin 'null' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. 我在linux虚拟机上使用ganache部署了私有链和智能合约,就没有这个问题,请问windows环境下怎么用geth部署私有链,才能使用js文件来和智能合约交互