gurpreet-legend / whatsapp-clone

1 stars 11 forks source link

[Modify] Create a config file for the socket connection #3

Closed kailash360 closed 2 years ago

kailash360 commented 2 years ago

Currently, the socket configuration is written on the main file and is also repeated on the controllers. Ideally, the socket connection should be defined in a config directory that would contain all the additional configurations for the server.