dddd / app.js
he1237596's picture
Update app.js
a5a5990 verified
raw
history blame contribute delete
277 Bytes
const express = require("express");
const app = express();
app.get("/", (req, res) => {
res.json({
ok: true,
msg: "hello huggingface",
});
});
const port = process.env.PORT || 7860;
app.listen(port, "0.0.0.0", () => {
console.log("server running:", port);
});