Skip to content

Commit

Permalink
Merged in bugfix/SHIBUI-2639-context (pull request #674)
Browse files Browse the repository at this point in the history
SHIBUI-2639 Set vite asset path to always be ./
  • Loading branch information
rmathis authored and sporth committed Oct 7, 2024
2 parents d739631 + 0a51ef4 commit 6f1b105
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 6f1b105

Please sign in to comment.