Spaces:
Runtime error
Runtime error
Download hyper_fix.js from Brozy123/LineUp-Bot: direct link, hf CLI and curl.
- Browser
- Download file 481 Bytes
-
https://huggingface.co/spaces/Brozy123/LineUp-Bot/resolve/main/hyper_fix.js
- Command line
-
hf download hf://spaces/Brozy123/LineUp-Bot/hyper_fix.js
-
curl -L -o hyper_fix.js https://huggingface.co/spaces/Brozy123/LineUp-Bot/resolve/main/hyper_fix.js
481 Bytes
| const dns = require('dns'); | |
| /** | |
| * HYPER-FIX FOR HUGGING FACE | |
| * Minimal version — only sets IPv4-first DNS (which ultimate_fix.js also does). | |
| * All connection agent/dispatcher logic is consolidated in ultimate_fix.js. | |
| */ | |
| console.log("[HYPER-FIX] Initializing..."); | |
| // Force IPv4 (redundant with ultimate_fix.js but harmless as a safety net) | |
| dns.setDefaultResultOrder('ipv4first'); | |
| console.log("[HYPER-FIX] IPv4-first DNS set. Done."); | |
| module.exports = { enabled: true }; | |