Fixed server from alternating between two routes with same dist on every update
minor changes to server