Updated Tables
This commit is contained in:
parent
1b650070d7
commit
7db1a3456b
13 changed files with 192 additions and 9 deletions
|
@ -3,6 +3,10 @@ import express from "express";
|
|||
|
||||
// Routes
|
||||
import results from "../routes/results-route.js";
|
||||
import alerting from "../routes/alerting-route.js";
|
||||
import react from "../routes/react-route.js";
|
||||
import tests from "../routes/tests-route.js";
|
||||
import jobs from "../routes/jobs-route.js";
|
||||
|
||||
const app = express();
|
||||
app.all("/", (req, res) => res.redirect("/qualiteer"));
|
||||
|
@ -10,6 +14,10 @@ app.all("/", (req, res) => res.redirect("/qualiteer"));
|
|||
// Middlewares
|
||||
|
||||
// Routes
|
||||
app.use(react); // Static Build Route
|
||||
app.use("/api/results", results);
|
||||
app.use("/api/alerting", alerting);
|
||||
app.use("/api/tests", tests);
|
||||
app.use("/api/jobs", jobs);
|
||||
|
||||
export default app;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue