Skip to content

Commit

Permalink
Support for logs
Browse files Browse the repository at this point in the history
  • Loading branch information
krtkvrm committed Mar 11, 2018
1 parent efc4fbf commit 4ededad
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions autoploy_main.js
Expand Up @@ -4,10 +4,14 @@ const deploy = require('./routes/deploy')

const BodyParser = require('body-parser')

const path = require('path')

const app = express()

app.use(BodyParser.json());

app.use(express.static(path.join(__dirname, 'public')));

app.use('/deploy', deploy)

// for Github Test Ping
Expand All @@ -17,6 +21,5 @@ app.post('/', (req, res, next) => {

const HTTPServer = app.listen(8010, (error) => {
if(error) throw error
console.log(`autoploy starting
https://github.com/vkartik97/autoploy`)
console.log(`autoploy starting`)
})
Empty file added public/index.html
Empty file.

0 comments on commit 4ededad

Please sign in to comment.