Spaces:
Configuration error
Configuration error
Download scripts/node-health-check.js from UUUZCX/video-optimizer-bot: direct link, hf CLI and curl.
- Browser
- Download file 299 Bytes
-
https://huggingface.co/spaces/UUUZCX/video-optimizer-bot/resolve/main/scripts/node-health-check.js
- Command line
-
hf download hf://spaces/UUUZCX/video-optimizer-bot/scripts/node-health-check.js
-
curl -L -o node-health-check.js https://huggingface.co/spaces/UUUZCX/video-optimizer-bot/resolve/main/scripts/node-health-check.js
299 Bytes
| const { ensurePaths } = require("../src/config/paths"); | |
| ensurePaths(); | |
| const { healthCheck } = require("../src/monitoring/health"); | |
| healthCheck() | |
| .then((result) => { | |
| console.log(JSON.stringify(result, null, 2)); | |
| }) | |
| .catch((error) => { | |
| console.error(error); | |
| process.exit(1); | |
| }); | |