Skip to content

Commit

Permalink
feat(server): /ping route
Browse files Browse the repository at this point in the history
  • Loading branch information
gr2m committed Feb 11, 2018
1 parent c6c4f09 commit c2aa52e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bin/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ const { argv } = yargs.options({

const app = express()
app.use(cors())
app.get('/ping', (request, response) => {
response.json({ok: true})
})
app.use(fixtureServereMiddleware({
port: argv.port,
fixturesUrl: argv['fixtures-url'],
Expand Down

0 comments on commit c2aa52e

Please sign in to comment.