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
288 B

  1. const routes = require('express').Router();
  2. const api = require('./api');
  3. routes.use('/api', api);
  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;