Replies: 1 comment 1 reply
-
did you find any solution to this? I'm facing the same problem right now |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a webpage with base name, say:
http://localhost:5173/app
I config vite to have
base: '/app/'
I have to access it in
http://localhost:5173/app/
If I try to access
http://localhost:5173/app
, it forces me to go tohttp://localhost:5173/app/
.(When its deployed to Nginx / served by expressjs.)
I tried config vite to have
base: '/app'
, problem persists.How can I remove that trailing slash?
Its discussed in
Ability to serve base page without trailing slash · Issue #9236 · vitejs/vite
#9236
Is this solved or not?
Beta Was this translation helpful? Give feedback.
All reactions