Skip to content

Commit

Permalink
build: comment this for production env
Browse files Browse the repository at this point in the history
  • Loading branch information
kenriortega committed Nov 8, 2021
1 parent 7c4c108 commit b5aa84f
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions web/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,15 @@ import react from '@vitejs/plugin-react'
export default defineConfig({
plugins: [react()],
server: {
proxy: {
'/': 'http://0.0.0.0:10001',
}
// port: 3000,
// proxy: {
// '/api': {
// target: 'http://0.0.0.0:10001',
// changeOrigin: true,
// ws: true,
// rewrite: (path) => path.replace(/^\/api/, '')
// },
// }
},
build: {
outDir: '../cmd/cli/ui'
Expand Down

0 comments on commit b5aa84f

Please sign in to comment.