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.

12 lines
295 B

  1. const routes = require('express').Router();
  2. const apiV1 = require('./api/v1');
  3. routes.use('/api', apiV1);
  4. routes.get("/", (request, response) => {
  5. response.redirect("index.html");
  6. });
  7. routes.get('*', (request, response) => {
  8. response.redirect("404.html");
  9. });
  10. module.exports = routes;