Updated unprint, integrated remote browser. Updated Kink affiliate URLs.
This commit is contained in:
10
src/app.js
10
src/app.js
@@ -38,7 +38,7 @@ const unprintOptions = {
|
||||
browserUserAgent: 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36',
|
||||
apiUserAgent: 'traxxx',
|
||||
clientRetirement: config.bypass.browser.clientRetirement,
|
||||
// remote: config.bypass.remote,
|
||||
remote: config.bypass.remote,
|
||||
limits: {
|
||||
...config.limits,
|
||||
default: {
|
||||
@@ -124,14 +124,6 @@ async function testProxy() {
|
||||
throw new Error(`Proxy is offline (${res.status})`);
|
||||
}
|
||||
}
|
||||
|
||||
if (unprintOptions.remote.enable) {
|
||||
await unprint.post(`${unprintOptions.remote.address}/options`, unprintOptions, {
|
||||
headers: {
|
||||
'unprint-key': unprintOptions.remote.key,
|
||||
},
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
async function init() {
|
||||
|
||||
Reference in New Issue
Block a user