Browse Source

Renamed old api routes file

pull/28/head
Peter Morgan 5 years ago
parent
commit
add6b82e78
2 changed files with 2 additions and 2 deletions
  1. +0
    -0
      routes/api/v1.js
  2. +2
    -2
      routes/index.js

routes/api.js → routes/api/v1.js View File


+ 2
- 2
routes/index.js View File

@ -1,6 +1,6 @@
const routes = require('express').Router();
const api = require('./api');
routes.use('/api', api);
const apiV1 = require('./api/v1');
routes.use('/api', apiV1);
routes.get("/", (request, response) => {
response.redirect("index.html");

Loading…
Cancel
Save