Skip to content

Commit

Permalink
fix dev env
Browse files Browse the repository at this point in the history
  • Loading branch information
giulioco committed Nov 16, 2024
1 parent 6837eea commit c0eeb95
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,5 @@ data/*
*.env
static/*
tsconfig.app.tsbuildinfo
tsconfig.node.tsbuildinfo
tsconfig.node.tsbuildinfo
data/*
3 changes: 2 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ export default defineConfig({
server: {
proxy: {
"/socket.io": {
target: "http://localhost:5000",
target: "http://localhost:8080",
ws: true,
changeOrigin: true,
},
"/api": {
target: "http://localhost:5000",
Expand Down

0 comments on commit c0eeb95

Please sign in to comment.