restructuring
This commit is contained in:
parent
0d31de23fd
commit
efcada9692
@ -1 +1,5 @@
|
||||
README.md
|
||||
README.md
|
||||
|
||||
coffee index.coffee
|
||||
|
||||
Browse to port 4000 in the browser
|
@ -3,7 +3,7 @@ http = require 'http'
|
||||
hapi = require 'hapi'
|
||||
path = require 'path'
|
||||
|
||||
handlers = require './handlers'
|
||||
handlers = require './lib/handlers'
|
||||
|
||||
app = express()
|
||||
app.set('port', process.env.PORT || 4000)
|
||||
|
@ -1,7 +1,7 @@
|
||||
#testapi = require 'testapi'
|
||||
|
||||
index = (request, response) ->
|
||||
response.sendfile('./views/index.html')
|
||||
response.sendfile('../views/index.html')
|
||||
|
||||
login = (req, resp) -> #not working yet
|
||||
console.log "req=" + JSON.stringify req.query.username
|
Loading…
Reference in New Issue
Block a user