mirror of
https://gitlab.rlp.net/proj-wise2526-video2document/video2document.git
synced 2026-06-15 18:01:52 +02:00
Finished the basic "Routers" and tested them.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
const express = require('express');
|
||||
const video_Router = require("./routers/video_Router.js");
|
||||
const document_Router = require("./routers/document_Router.js");
|
||||
const app = express();
|
||||
app.use(express.json);
|
||||
|
||||
const PORT = process.env.PORT || 3000;
|
||||
|
||||
@@ -14,4 +14,4 @@ app.get("/api/v1/healthcheck", async (req,res) =>{
|
||||
});
|
||||
|
||||
app.use("/videos", video_Router);
|
||||
app.use("/documents", documents);
|
||||
app.use("/documents", document_Router);
|
||||
Reference in New Issue
Block a user