Website for visualizing a persons github network.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

13 lines
295 B

const routes = require('express').Router();
const apiV1 = require('./api/v2');
routes.use('/api', apiV1);
routes.get("/", (request, response) => {
response.redirect("index.html");
});
routes.get('*', (request, response) => {
response.redirect("404.html");
});
module.exports = routes;