Drop in a screenshot and convert it to clean code (HTML/Tailwind/React/Vue)
Python
update more values to 7001
Abi Raja63add3750532
diff --git a/docker-compose.yml b/docker-compose.ymlindex 87f0a667..3b3bcec7 100644--- a/docker-compose.yml+++ b/docker-compose.yml@@ -11,7 +11,7 @@ services:# or# 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_keyports:diff --git a/frontend/.env.example b/frontend/.env.exampleindex 43a8814c..c29bfd39 100644--- a/frontend/.env.example+++ b/frontend/.env.example@@ -1,2 +1 @@-# example for change the backend port to 7001 to deal with issue: https://developer.apple.com/forums/thread/682332VITE_WS_BACKEND_URL=ws://127.0.0.1:7001diff --git a/frontend/src/generateCode.ts b/frontend/src/generateCode.tsindex 997bd452..77edf07c 100644--- a/frontend/src/generateCode.ts+++ b/frontend/src/generateCode.ts@@ -1,7 +1,7 @@import toast from "react-hot-toast";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 ="Error generating code. Check the Developer Console for details. Feel free to open a Github ticket";