Better license mmanagment,small fixes

This commit is contained in:
sepehr 2026-04-10 10:43:00 +03:00
parent d38af999a5
commit f55bd4bcd8
4 changed files with 172 additions and 90 deletions

View file

@ -25,7 +25,7 @@ export class LicenseInterceptor implements HttpInterceptor {
'snippet/syslogregex/list'
];
constructor(private licenseService: LicenseService) {}
constructor(private licenseService: LicenseService) { }
private isProEndpoint(url: string): boolean {
return this.proEndpoints.some(endpoint => url.includes(endpoint));