Features

Treat *.localhost as Local Dev Host

7mo agoIn Review

**Expected Behavior**

`devmode: true` should send `debug: true` when running on local dev hosts, including `*.localhost` domains like `mydomain.localhost`.

**Actual Behavior**

The SDK sends `debug: false` on `mydomain.localhost` because it only recognizes exact `localhost`, loopback IPs, and `file:` as local.

**Proposed Solution**

Update local-host detection to also treat `hostname.endsWith(".localhost")` as local development.

and 1 other

2 comments

  1. David marked this as In Review7mo ago
  2. JG7mo ago

    I submitted this via the chat widget and formatting didn't come through well. Just FYI. Not a bot

    1. David7mo ago

      Got it