Skip to content

Commit

Permalink
Fix vite server for front apps
Browse files Browse the repository at this point in the history
  • Loading branch information
TdyP committed Feb 15, 2024
1 parent 6fe8791 commit ac627b9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions vite-config-common.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ export const commonConfig = rootPath => {
replacement: path.resolve(__dirname, 'libs/ui/src/$1')
}
]
},
server: {
port: 3000,
host: true
}
};
};

0 comments on commit ac627b9

Please sign in to comment.