diff --git a/frontend/.env.development b/frontend/.env.development index 8ed3af2..bb46015 100644 --- a/frontend/.env.development +++ b/frontend/.env.development @@ -1,2 +1 @@ -NEXT_SOCKET_PORT=3030 -NEXT_PUBLIC_SOCKET_URL=http://localhost:3000 \ No newline at end of file +NEXT_PUBLIC_SOCKET_URL=/ \ No newline at end of file diff --git a/frontend/.env.production b/frontend/.env.production index 5de58e6..f9a5d6f 100644 --- a/frontend/.env.production +++ b/frontend/.env.production @@ -1,2 +1 @@ -NEXT_SOCKET_PORT=3030 -NEXT_PUBLIC_SOCKET_URL=ws://localhost:3001 \ No newline at end of file +NEXT_PUBLIC_SOCKET_URL=ws://localhost:3001 # if you wanna deploy to Vercel, you need to change this to "/" \ No newline at end of file