在服务器中项目系统搭建中调取了内网三维倾斜摄影的模型服务,npm run serve后,可以从运行网页中看到模型。
但是在iis发布网站后,不管从iis绑定的网站还是其他客户端访问时,都无法显示倾斜摄影,并且报错Access to XMLHttpRequest at 'http://192.168.0.153:8001/2021%E5%8D%AB%E6%98%9F%E9%81%A5%E6%84%9F%E5%BD%B1%E5%83%8F/wmts?tilematrix=14&layer=2021%E5%8D%AB%E6%98%9F%E9%81%A5%E6%84%9F%E5%BD%B1%E5%83%8F&style=default&tilerow=6444&tilecol=13647&tilematrixset=undefined&format=png&service=WMTS&version=1.0.0&request=GetTile' from origin 'http://182.16.100.27' has been blocked by CORS policy: The request client is not a secure context and the resource is in more-private address space `private`.