Download scripts/filecheck/env.js from AbdulElahGwaith/content: direct link, hf CLI and curl.
- Browser
- Download file 353 Bytes
-
https://huggingface.co/AbdulElahGwaith/content/resolve/main/scripts/filecheck/env.js
- Command line
-
hf download hf://AbdulElahGwaith/content/scripts/filecheck/env.js
-
curl -L -o env.js https://huggingface.co/AbdulElahGwaith/content/resolve/main/scripts/filecheck/env.js
353 Bytes
| import { correctContentPathFromEnv, parseEnvValue } from "./utils.js"; | |
| export const CONTENT_ROOT = correctContentPathFromEnv("CONTENT_ROOT"); | |
| export const CONTENT_TRANSLATED_ROOT = correctContentPathFromEnv( | |
| "CONTENT_TRANSLATED_ROOT", | |
| ); | |
| export const MAX_FILE_SIZE = parseEnvValue( | |
| process.env.FILECHECK_MAX_FILE_SIZE || 500 * 1024, // 500KiB | |
| ); | |