dxos-deprecated / dashboard

DxOS Dashboard
MIT License
0 stars 1 forks source link

Logs not loading at xbox.local #53

Open ccamrobertson opened 4 years ago

ccamrobertson commented 4 years ago

See images below for comparison; this seems to be due to an explicit local flag which is checking for localhost or 127.0.0.1. In the case of xbox.local, this will fail. Without further rationale on why logs should be blocked for xbox's, I recommend that we either remove the flag or change the local behavior.

With logs:

Screen Shot 2020-04-14 at 7 04 41 PM

Without logs:

Screen Shot 2020-04-14 at 7 41 23 PM

See:

https://github.com/dxos/dashboard/blob/cf5da1ba0597296cdaad993d43b420691b244518/src/lib/util.js#L36

https://github.com/dxos/dashboard/blob/cf5da1ba0597296cdaad993d43b420691b244518/src/hooks/registry.js#L26

https://github.com/dxos/dashboard/blob/cf5da1ba0597296cdaad993d43b420691b244518/src/pages/console/wns.js#L281

telackey commented 4 years ago

https://github.com/dxos/dashboard/pull/57