mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 04:37:11 +01:00
Reformatted files with biome.
This commit is contained in:
parent
d51f0641a6
commit
fa8d8055df
558 changed files with 2108 additions and 2379 deletions
|
|
@ -1,11 +1,11 @@
|
|||
import path from 'node:path';
|
||||
import { UAParser } from 'ua-parser-js';
|
||||
import { browserName, detectOS } from 'detect-browser';
|
||||
import isLocalhost from 'is-localhost-ip';
|
||||
import ipaddr from 'ipaddr.js';
|
||||
import isLocalhost from 'is-localhost-ip';
|
||||
import maxmind from 'maxmind';
|
||||
import { UAParser } from 'ua-parser-js';
|
||||
import { getIpAddress, stripPort } from '@/lib/ip';
|
||||
import { safeDecodeURIComponent } from '@/lib/url';
|
||||
import { stripPort, getIpAddress } from '@/lib/ip';
|
||||
|
||||
const MAXMIND = 'maxmind';
|
||||
|
||||
|
|
@ -145,6 +145,8 @@ export function hasBlockedIp(clientIp: string) {
|
|||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue