fixes App#configure to only run in web process