15 lines
No EOL
297 B
JavaScript
Executable file
15 lines
No EOL
297 B
JavaScript
Executable file
const usersAPI = require("./users");
|
|
const contentAPI = require("./content");
|
|
|
|
const express = require("express");
|
|
|
|
const app = express.Router();
|
|
|
|
app.use("/users", usersAPI);
|
|
app.use("/content", contentAPI);
|
|
|
|
app.get("/", (req, res) => {
|
|
res.json({ error: false });
|
|
});
|
|
|
|
module.exports = app; |