aero icon indicating copy to clipboard operation
aero copied to clipboard

Option for Host IP configuration

Open ansarizafar opened this issue 6 years ago • 2 comments

Aero provides an option to set Port but there is no configuration setting for Host IP. Please provide an option for setting Host IP.

ansarizafar avatar Dec 19 '19 14:12 ansarizafar

Hi! I suggest a way to set Port by writing on program when developer run their application. For example:

// current application run method (r is value returned by aero.New())
r.Run()

// I suggested way. (port is string)
r.Run(port)
or
r.Run(":8080")

When I develop api using multiple port, I think the way is more comfortable.

n9te9 avatar Dec 30 '20 13:12 n9te9

Port can be set with Config.http.port, but IP should be a great improvement, instead of localhost by default

eco747 avatar May 02 '23 16:05 eco747