import { Router } from "express"; const App = Router(); App.get("/", (_, res) => res.send("This content should be served on /welcome!
Go to sub-page")) App.get("/sub", (_, res) => res.send("Welcome to the sub-page! This content should be served on /welcome/sub!
Go back")) export default { App, DefaultAPI: "/welcome" }