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:
|
||||
image: "nginx:latest"
|
||||
volumes:
|
||||
- ./js:/usr/share/nginx/html
|
||||
- ./nginx:/usr/share/nginx/html
|
||||
|
@ -26,7 +26,7 @@ if (window.Worker) {
|
||||
}
|
||||
const workers = [];
|
||||
for (let i = 0; i < threads; i++) {
|
||||
const shaWorker = new Worker('/worker.js');
|
||||
const shaWorker = new Worker('/js/worker.js');
|
||||
shaWorker.onmessage = messageHandler;
|
||||
workers.push(shaWorker);
|
||||
}
|
@ -51,7 +51,7 @@ local body_template = [[
|
||||
<input type="submit" value="Calculating proof of work..." disabled>
|
||||
</form>
|
||||
<footer>DDoS mitigation by <a href="https://kikeflare.com">KikeFlare</a></footer>
|
||||
<script src="/sha1.js"></script>
|
||||
<script src="/js/sha1.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
]]
|
||||
|
Reference in New Issue
Block a user