Spaces:
Paused
Paused
Download config/env.js from mikmc/Internet_Archive: direct link, hf CLI and curl.
- Browser
- Download file 342 Bytes
-
https://huggingface.co/spaces/mikmc/Internet_Archive/resolve/main/config/env.js
- Command line
-
hf download hf://spaces/mikmc/Internet_Archive/config/env.js
-
curl -L -o env.js https://huggingface.co/spaces/mikmc/Internet_Archive/resolve/main/config/env.js
342 Bytes
| require('dotenv').config() | |
| const { SEARCH_URL, METADATA_URL, IMAGE_URL, STREAM_URL, PORT } = process.env | |
| const config = { | |
| port: PORT || 3000, | |
| addonContentIdPrefix: 'archorg.addon:', | |
| url: { | |
| search: SEARCH_URL, | |
| metadata: METADATA_URL, | |
| image: IMAGE_URL, | |
| stream: STREAM_URL, | |
| }, | |
| } | |
| module.exports = Object.freeze(config) | |