birdofpreyru/react-native-static-server

Improvement: Set server origin as early as possible within the `server.start()` flow

birdofpreyru opened this issue · 0 comments

To be moved up inside the function, just after the point the hostname and port are selected.

this._origin = `http://${this._hostname}:${this._port}`;