wf-radio/src/routes/root.js
Gu://em_ 306c87fca2 feat: Error handling middleware
feat: Ability to get the db variable from everywhere with getDatabase function
feat: Hello world when getting root url
fix: Now mods model is able to communicate with db
fix: fixed a syntax error in routes/mods.js file which caused sending two responses to the client
2025-03-29 00:31:25 +01:00

10 lines
213 B
JavaScript

const express = require("express");
const controller = require("../controllers/mods");
const router = express.Router();
router.get('/', (res, req) => {
res.send("Hello there!");
});
module.exports = router;