在 c盘下 windows/system32/drivers/etc/host
文件内,可以添加设置域名,将本地起的服务模拟成域名形式,便于相关前端测试,比如测试跨域。
windows下模拟域名
- Post link: http://champyin.com/2018/10/05/windows下模拟域名/
- Copyright Notice: All articles in this blog are licensed under CC BY-NC-SA 3.0 unless stating additionally.