vite+vue3项目,使用npm run dev运行时,localhost访问正常,通过IP地址访问报错ailed to load resource: the server responded with a status of 502。
解决方法:检查本地是否开启了代理服务器。关闭本地代理即可。
vite+vue3项目,使用npm run dev运行时,localhost访问正常,通过IP地址访问报错ailed to load resource: the server responded with a status of 502。
解决方法:检查本地是否开启了代理服务器。关闭本地代理即可。