'Serve frontend from /frontend rather than /
Essentially when I do on a brand new vite/svelte project (not sveltekit)
pnpm run
It runs on localhost:3000/
However, I am attempting to run it on
http://localhost:3000/frontend
Solution 1:[1]
You can change the default base, in your vite config:
Default: /
Base public path when served in development or production.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | CD.. |
