mirror of
https://gitgud.io/fatchan/haproxy-protection.git
synced 2025-05-09 02:05:37 +00:00
add missing basedflare paths to worker and challenge includes
This commit is contained in:
@ -107,7 +107,7 @@ const powFinished = new Promise((resolve, reject) => {
|
||||
}
|
||||
const workers = [];
|
||||
for (let i = 0; i < workerThreads; i++) {
|
||||
const argonWorker = new Worker('/js/worker.js');
|
||||
const argonWorker = new Worker('/.basedflare/js/worker.js');
|
||||
argonWorker.onmessage = messageHandler;
|
||||
workers.push(argonWorker);
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
importScripts('/js/argon2.js');
|
||||
importScripts('/.basedflare/js/argon2.js');
|
||||
|
||||
onmessage = async function(e) {
|
||||
const [userkey, challenge, diff, diffString, argonOpts, id, threads] = e.data;
|
||||
|
Reference in New Issue
Block a user