dvBillingLoopback function

bool dvBillingLoopback(
  1. Uri address
)

Whether address is one the providers refuse to send a buyer back to: this machine. Bachs refuses them in its sandbox too, so a build on a developer's machine leaves the return addresses out.

Implementation

bool dvBillingLoopback(Uri address) =>
    const <String>['localhost', '127.0.0.1', '::1', '[::1]'].contains(address.host);