You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
258 B
13 lines
258 B
2 years ago
|
import express from "express";
|
||
|
import Router from "../../lib/express-promise-router.js";
|
||
|
const router = Router();
|
||
|
|
||
|
router.get("/", function (req, res) {
|
||
|
res.send("Hi!");
|
||
|
});
|
||
|
|
||
|
const app = express();
|
||
|
app.use(router);
|
||
|
app.listen(12345);
|
||
|
console.log("START");
|