Closed Jackson-Vieira closed 3 months ago
Oh, backend is running on port 4000
So the following .envs will works
NEXT_PUBLIC_SOCKET_URL=ws://localhost:4000
I will add it to docs and put a fallback when empty.
Thank you
Another suggestion would be to have .env.template filled with minimal values as example - instead of empty
Added default values to .env.template and mention it on contributing guide. https://github.com/brunocroh/bolhadev.chat/commit/6b03297d0d7340ae75e5ca949cdc162b93490b28
I'm a beginner with Next.js and following the contribution guide, when i run the project and enter in a queue or room, I received an error indicating that a specific environment variable is not specified and has set to undefined.