fix wrong adblocker package #1702

This commit is contained in:
Martin Rotter 2025-04-29 07:55:47 +02:00
parent f46957f843
commit 3a9f947bb3
2 changed files with 5 additions and 5 deletions

View file

@ -1,7 +1,7 @@
// Simple local HTTP server providing ad-blocking functionality via https://github.com/cliqz-oss/adblocker
// Simple local HTTP server providing ad-blocking functionality via https://github.com/ghostery/adblocker
//
// How to install:
// npm i @cliqz/adblocker
// npm i @ghostery/adblocker
//
// How to run:
// NODE_PATH="..." node ./adblock-server.js "<port>" "<filters-file-path>"
@ -18,7 +18,7 @@
const fs = require('fs');
const tldts = require('tldts-experimental');
const adblock = require('@cliqz/adblocker');
const adblock = require('@ghostery/adblocker');
const http = require('http');
const cluster = require('cluster');

View file

@ -9,8 +9,8 @@
#include <QObject>
#include <QProcess>
#define CLIQZ_ADBLOCKED_PACKAGE "@cliqz/adblocker"
#define CLIQZ_ADBLOCKED_VERSION "1.27.1"
#define CLIQZ_ADBLOCKED_PACKAGE "@ghostery/adblocker"
#define CLIQZ_ADBLOCKED_VERSION "2.5.1"
class QUrl;
class AdblockRequestInfo;