Set asset host port in a way similar to what application does


I’m setting the full asset hosts in the environment files, being the one in development http://localhost:3000 . But let’s say I restart the application on port 3001. Assets won’t be fetched, and I have to change it accordingly all the time in the environment files. Wouldn’t it be a relevant feature to “inherit” the web server listened port unless another port is specified? I don’t know how web-server specific that might be, but it’d be cool to have such a feature.

All this stuff with ports, multiple definition of hosts etc. make me crazy. Completely agree with you, it should be somehow more integrated with default config and follow CoC.