Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ch-#158617482 #1

Open
wants to merge 3 commits into
base: api
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
module.exports = {
"extends": "airbnb-base",
"rules": {
"linebreak-style": ["error", "windows"]
}
"extends": "airbnb-base"
};
/*eslint linebreak-style: ["error", "windows"]*/
8 changes: 7 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
language: node_js
language: node_js
node_js:
- "5.5.0"
install:
- npm install
script:
- npm test
2 changes: 1 addition & 1 deletion Middleware/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import express from 'express';
const Middleware = (app) => {
app.use(bodyParser.json());
//public the view
app.use(express.static('View'));
//app.use(express.static('View'));
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please delete commented code if you no longer need it, don't push commented code online

//initialise routes
app.use('/api/v1', user);
app.use('/api/v1', driver);
Expand Down
Loading