Files
sirpremiumv2/app/Http/Livewire/ShowIpTest.php
T
Juan Felipe Duarte 4276f1da4e Refactor IP display logic in ShowIpTest component
Simplifies the Livewire component by removing public and local IP properties and related listeners. Updates the Blade view to fetch and display the user's public IP using ipify API, removing previous local IP detection logic.
2025-10-18 10:28:30 -05:00

17 lines
259 B
PHP

<?php
namespace App\Http\Livewire;
use Livewire\Component;
use Illuminate\Support\Facades\Request;
class ShowIpTest extends Component
{
public string $ipId = '';
public function render()
{
return view('livewire.show-ip-test');
}
}