Download mock-app/server.js from EnergyVenom/patchwise-agent-studio: direct link, hf CLI and curl.
- Browser
- Download file 675 Bytes
-
https://huggingface.co/spaces/EnergyVenom/patchwise-agent-studio/resolve/main/mock-app/server.js
- Command line
-
hf download hf://spaces/EnergyVenom/patchwise-agent-studio/mock-app/server.js
-
curl -L -o server.js https://huggingface.co/spaces/EnergyVenom/patchwise-agent-studio/resolve/main/mock-app/server.js
675 Bytes
| ; | |
| // Entry point of the MOCK Oracle Fusion-style app (NOT Oracle software). Shared shell + pluggable module packs | |
| // (mock-app/modules/<id>/). Synthetic data only; "Sign in" just picks a persona cookie; no credentials. | |
| const { buildApp } = require('./core/shell'); | |
| const app = buildApp(); | |
| const PORT = Number(process.env.PORT || 3100); | |
| // Loopback only unless MOCK_HOST says otherwise (a standalone practice pod that people open in a browser). | |
| const HOST = process.env.MOCK_HOST || '127.0.0.1'; | |
| if (require.main === module) app.listen(PORT, HOST, () => console.log(`Mock Fusion (NOT Oracle) listening on http://${HOST}:${PORT}`)); | |
| module.exports = app; | |