Skip to content

Commit 34dfed1

Browse files
authored
Update web.php
ver direccion ip
1 parent f876b0d commit 34dfed1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

routes/web.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,4 +97,8 @@
9797

9898
Route::get('/getDonutCalls', [PostProxyController::class, 'getDonutCalls']);
9999
Route::get('/getAgentRanking', [PostProxyController::class, 'rankingCalls']);
100-
Route::get('/getOverview', [PostProxyController::class, 'getOverview']);
100+
Route::get('/getOverview', [PostProxyController::class, 'getOverview']);
101+
102+
Route::get('/mi-ip', function () {
103+
return request()->ip(); // o $_SERVER['REMOTE_ADDR']
104+
});

0 commit comments

Comments
 (0)