Skip to content

Commit

Permalink
SHIBUI-2639 Set vite asset path to always be ./
Browse files Browse the repository at this point in the history
  • Loading branch information
rmathis committed Sep 13, 2024
1 parent d739631 commit 0a51ef4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ui/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ export default defineConfig(({mode}) => {
};

return ({
base: `${context ? context : "."}/`,
// base: `${context ? context : "."}/`, Use this when deploying to a subdirectory in local development
base: `./`,
server:{
port,
proxy
Expand Down

0 comments on commit 0a51ef4

Please sign in to comment.