Multisite - Stage switcher URLs not correct. Set ENVIRONMENTS in application.php

I have a Sub-domain Multisite using Trellis, Bedrock. Stage switcher URLs are acting strange:
From Dev the Staging link leads to and Production (which I have not worked on yet) has the same address.
From Staging the Dev link leads to and Production to

However, when on the root domain of or all links look fine…

This is on the application.php
/* Stage switcher plugin */
$envs = [
‘development’ => ‘’,
‘staging’ => ‘’,
‘production’ => ‘
define(‘ENVIRONMENTS’, serialize($envs));

Would the Dev sub-domains not being added cause this?
Dev wordpress_sites.yml:
- canonical:

Staging wordpress_sites.yml:
- canonical:
- canonical: