mirror of
https://gitgud.io/fatchan/haproxy-protection.git
synced 2025-05-09 02:05:37 +00:00
change path for scripts
This commit is contained in:
@ -18,4 +18,4 @@ services:
|
|||||||
nginx:
|
nginx:
|
||||||
image: "nginx:latest"
|
image: "nginx:latest"
|
||||||
volumes:
|
volumes:
|
||||||
- ./js:/usr/share/nginx/html
|
- ./nginx:/usr/share/nginx/html
|
||||||
|
@ -26,7 +26,7 @@ if (window.Worker) {
|
|||||||
}
|
}
|
||||||
const workers = [];
|
const workers = [];
|
||||||
for (let i = 0; i < threads; i++) {
|
for (let i = 0; i < threads; i++) {
|
||||||
const shaWorker = new Worker('/worker.js');
|
const shaWorker = new Worker('/js/worker.js');
|
||||||
shaWorker.onmessage = messageHandler;
|
shaWorker.onmessage = messageHandler;
|
||||||
workers.push(shaWorker);
|
workers.push(shaWorker);
|
||||||
}
|
}
|
@ -51,7 +51,7 @@ local body_template = [[
|
|||||||
<input type="submit" value="Calculating proof of work..." disabled>
|
<input type="submit" value="Calculating proof of work..." disabled>
|
||||||
</form>
|
</form>
|
||||||
<footer>DDoS mitigation by <a href="https://kikeflare.com">KikeFlare</a></footer>
|
<footer>DDoS mitigation by <a href="https://kikeflare.com">KikeFlare</a></footer>
|
||||||
<script src="/sha1.js"></script>
|
<script src="/js/sha1.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
]]
|
]]
|
||||||
|
Reference in New Issue
Block a user