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