How to change base URL to HTTP requests on Vite-Vue app - DEV mode #15560
Unanswered
wojciechfpga
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to change base URL of HTTP requests from host adress of Vite app ( http://localhost:5173) to host adress of my ASP .NET API (http://localhost:5815) on dev mode (npm run dev). But I have an error after making change in vite.config file inorder to redirect base URL to HTTP requests on dev mode:
vite.config file
How to change Remote Adress of HTP requests in dev mode (npm run dev)?
I mention only that similar project with only Vue, worked with this vue.config file:
Beta Was this translation helpful? Give feedback.
All reactions