Skip to content

Commit 9660223

Browse files
committed
Fix host for ipv6 binding issue
1 parent 438ef43 commit 9660223

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ Since the local app uses OpenAI models, you should first deploy it for the optim
139139
cd src/frontend
140140
npm install
141141
npm run build
142-
cd ..
142+
cd ../..
143143
```
144144
145145
There must be an initial build of static assets before running the backend, since the backend serves static files from the `src/static` directory.

src/frontend/vite.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ export default defineConfig({
2626
server: {
2727
proxy: {
2828
"/chat": "http://localhost:8000"
29-
}
29+
},
30+
host: "127.0.0.1",
3031
}
3132
});

0 commit comments

Comments
 (0)