Fix configuration for background thread URL generation