We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VITE_PORT = 3100 VITE_USE_MOCK = true VITE_PUBLIC_PATH = / VITE_PROXY=[["/api","https://localhost:8000/api"]] VITE_DROP_CONSOLE = false VITE_GLOB_API_URL=/api VITE_GLOB_UPLOAD_URL=/upload VITE_GLOB_API_URL_PREFIX=
只是修改了代理地址,以下就是写了个测试
const productPromise = defHttp.request({ url: '/Admin/QueryProducts', method: 'POST', }); productPromise.then((res) => { console.log(res); });
控制台有如下错误,不知道有没有关系
Error: write EPROTO 13536:error:1408F10B:SSL routines:ssl3_get_record:wrong version number:c:\ws\deps\openssl\openssl\ssl\record\ssl3_record.c:332: at WriteWrap.onWriteComplete [as oncomplete] (internal/stream_base_commons.js:94:16)
Error: write EPROTO 13536:error:1408F10B:SSL routines:ssl3_get_record:wrong version number:c:\ws\deps\openssl\openssl\ssl\record\ssl3_record.c:332:
at WriteWrap.onWriteComplete [as oncomplete] (internal/stream_base_commons.js:94:16)
在之前的vite还在1.几版本的时候都没问题
后续用nginx代理后,问题消失了,可能和代理有关
The text was updated successfully, but these errors were encountered:
fix: fix the problem of mock error under post #247
9b6f37c
mock插件问题,升级到最新应该就可以了
Sorry, something went wrong.
No branches or pull requests
只是修改了代理地址,以下就是写了个测试
控制台有如下错误,不知道有没有关系
后续用nginx代理后,问题消失了,可能和代理有关
The text was updated successfully, but these errors were encountered: