wallabyjs / console-ninja

Repository for Console Ninja questions and issues
https://console-ninja.com
Other
378 stars 18 forks source link

[Feature]: Enhance Console ninja's allowed hosts to accept wildcards #325

Closed smcenlly closed 1 month ago

smcenlly commented 2 months ago

Describe the feature you'd like.

I'd like to be able to add all the devices on my local network to console ninja's allowed hosts. For example: would it be possible to support adding an entire IP range like 192.168.*?

omerson-cruz commented 2 months ago

Hello I also would like to have this kind of support For example, be able to wildcard a subdomain in the allowed hosts

e.g. *.mydomain.com

smcenlly commented 1 month ago

We have added support for wildcards as a PRO feature.

The console-ninja.allowedHosts setting (with PRO) now supports the use of * and ? for wildcard matching (e.g. *.example.com), and regular expressions (e.g. /^.*\\.example\\.com$/).

Please update to Console Ninja v1.0.344+ for the version with support for wildcards.

omerson-cruz commented 1 month ago

Cool thank you so much for this. Kudos the Wallaby team as always!