automation-serverless-git-h.../index.js

16 lines
319 B
JavaScript

const express = require("express");
const app = express();
const PORT = 8080;
// Simple "Hello from Automation-serverLess-Git-hosted936!" route
app.get("*", (req, res) => {
res.send("Hello, World!");
});
// Start server
app.listen(PORT, () => {
console.log(`Server is running on http://localhost:${PORT}`);
});