remove from ip
This commit is contained in:
@@ -24,7 +24,7 @@ function isLocalIp(string $ip = ''): bool
|
||||
*/
|
||||
function isTurkmenIp(string $ip = ''): bool
|
||||
{
|
||||
$patterns = ['95.85', '216'];
|
||||
$patterns = ['95.85', '216', '10'];
|
||||
|
||||
foreach ($patterns as $pattern) {
|
||||
if (strpos($ip, $pattern) === 0) {
|
||||
|
||||
@@ -126,7 +126,7 @@ class CardOrder extends Model
|
||||
public function panelUrl(string $type = 'index'): string
|
||||
{
|
||||
return match ($type) {
|
||||
'index' => sprintf('/panel/resources/card-orders'),
|
||||
'index' => sprintf('%s/resources/card-orders', config('nova.path')),
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user