Spaces:
Runtime error
Runtime error
Download server.js from fikxzmodzz/Web2App: direct link, hf CLI and curl.
- Browser
- Download file 290 Bytes
-
https://huggingface.co/spaces/fikxzmodzz/Web2App/resolve/main/server.js
- Command line
-
hf download hf://spaces/fikxzmodzz/Web2App/server.js
-
curl -L -o server.js https://huggingface.co/spaces/fikxzmodzz/Web2App/resolve/main/server.js
290 Bytes
| const express = require("express"); | |
| const v1Routes = require("./routes/v1"); | |
| const app = express(); | |
| const port = process.env.PORT || 3000; | |
| app.use(express.json()); | |
| app.use("/v1", v1Routes); | |
| app.listen(port, () => { | |
| console.log(`F Projects Web2App Service running on port ${port}`); | |
| }); |