mirror of
https://github.com/zen-browser/rices.git
synced 2025-07-07 17:05:40 +02:00
fix: update user agent regex for improved matching
This commit is contained in:
parent
8e280426f7
commit
4590c34ea2
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ import { generateSlug } from './utils/slug.util';
|
|||
import { GitHubService } from '../github/github.service';
|
||||
import { SupabaseService } from '../supabase/supabase.service';
|
||||
|
||||
const userAgentRegex = /ZenBrowser\/(\d+\.\d\w\.\d) \((.+)\)/;
|
||||
const userAgentRegex = /ZenBrowser\/(\d+\.\d\w?\.\d) \((.+)\)/;
|
||||
|
||||
@Injectable()
|
||||
export class RicesService {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue