update more values to 7001
This commit is contained in:
parent
4ae04553df
commit
63add37505
@ -11,7 +11,7 @@ services:
|
|||||||
|
|
||||||
# or
|
# or
|
||||||
# environment:
|
# environment:
|
||||||
#- BACKEND_PORT=7000 # if you change the port, make sure to also change the VITE_WS_BACKEND_URL at frontend/.env.local
|
#- BACKEND_PORT=7001 # if you change the port, make sure to also change the VITE_WS_BACKEND_URL at frontend/.env.local
|
||||||
# - OPENAI_API_KEY=your_openai_api_key
|
# - OPENAI_API_KEY=your_openai_api_key
|
||||||
|
|
||||||
ports:
|
ports:
|
||||||
|
|||||||
@ -1,2 +1 @@
|
|||||||
# example for change the backend port to 7001 to deal with issue: https://developer.apple.com/forums/thread/682332
|
|
||||||
VITE_WS_BACKEND_URL=ws://127.0.0.1:7001
|
VITE_WS_BACKEND_URL=ws://127.0.0.1:7001
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
import toast from "react-hot-toast";
|
import toast from "react-hot-toast";
|
||||||
|
|
||||||
const WS_BACKEND_URL =
|
const WS_BACKEND_URL =
|
||||||
import.meta.env.VITE_WS_BACKEND_URL || "ws://127.0.0.1:7000";
|
import.meta.env.VITE_WS_BACKEND_URL || "ws://127.0.0.1:7001";
|
||||||
const ERROR_MESSAGE =
|
const ERROR_MESSAGE =
|
||||||
"Error generating code. Check the Developer Console for details. Feel free to open a Github ticket";
|
"Error generating code. Check the Developer Console for details. Feel free to open a Github ticket";
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user