Skip to content

Commit ac0c24e

Browse files
committed
fix: base path of build may not start with leading slash for ressources
1 parent 6c65c47 commit ac0c24e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-boot-admin-server-ui/vite.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ export default defineConfig(({mode}) => {
1414

1515
return {
1616
root,
17+
base: '',
1718
logLevel: "info",
1819
define: {
1920
'__PROJECT_VERSION__': JSON.stringify(`${process.env.PROJECT_VERSION || '0.0.0'}`)
@@ -56,7 +57,6 @@ export default defineConfig(({mode}) => {
5657
extensions: ['.vue', '.js'],
5758
},
5859
server: {
59-
base: '/',
6060
proxy: {
6161
'^(/sba-settings.js|/variables.css)': {
6262
target: 'http://localhost:8080',

0 commit comments

Comments
 (0)