Skip to content

v1.2.2

@fofxtools fofxtools tagged this 20 Nov 15:14
- Updated `.gitignore`, `.php-cs-fixer.php`, `phpstan.neon`
- Updated functions in `src/server.php`:
  - Updated `resolv_conf_nameserver_ip()` to return first valid non-localhost IP
  - Added `wsl_default_route_ip()` to get WSL IP via `ip route` command
  - Updated `wsl_url()` to use `wsl_default_route_ip()` with fallback to `resolv_conf_nameserver_ip()`
- Updated `tests/scrapingTest.php` to use `wsl_url()`
Assets 2
Loading