Skip to content

Commit

Permalink
Shortened the url for the authentication routes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrea committed Aug 7, 2018
1 parent 20b038d commit f8571d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const express = require('express');
const path = require('path');
const morgan = require('morgan');
const logger = require('./logger');
const basicRoutes = require('./router/routes');
const authRoutes = require('./router/routes');
const cors = require('cors');

const app = express();
Expand Down Expand Up @@ -36,7 +36,7 @@ app.use(
app.use(express.static(path.join(__dirname + '/authentication')));

/// use routes
app.use('/basicRoutes', basicRoutes);
app.use('/', authRoutes);

const port = process.env.PORT || 3090;
app.listen(port, () => {
Expand Down

0 comments on commit f8571d5

Please sign in to comment.