This project is designed to help developers understand and mitigate code injection and XSS vulnerabilities. It includes a backend API and a frontend interface for testing various attack vectors in a controlled environment.
11 lines
257 B
JavaScript
11 lines
257 B
JavaScript
const network = require("../api/network/network");
|
|
const secureNetwork = require("../api/network/secureNetwork");
|
|
|
|
const routes = (app) => {
|
|
app.use("/api", network);
|
|
app.use("/api/secure", secureNetwork);
|
|
return network;
|
|
};
|
|
|
|
module.exports = routes;
|