config base
with chinese will make some mistakes
#10229
PengBoUESTC
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
vite get the
base
config directly or parse it by url.parse, that is different fromnew URL
,const myURL = new URL('https://測試'); // https://xn--g6w251d/
in
resolveBaseUrl
,base
is parsed by 'url.parse' or used directlybut in
baseMiddleware
,req.url
is parsed bynew URL
.and then vite server will response with 404
Beta Was this translation helpful? Give feedback.
All reactions