Push dev work to master #2

Merged
sixteenmillimeter merged 416 commits from dev into master 2018-07-19 15:29:02 +00:00
2 changed files with 7 additions and 1 deletions
Showing only changes of commit 7d9377e7ea - Show all commits

View File

@ -4,7 +4,7 @@
<title>intval 3</title> <title>intval 3</title>
</head> </head>
<body> <body>
<form method="/frame"> <form method="POST" action="/frame">
</form> </form>
</body> </body>

View File

@ -19,6 +19,8 @@ let app = restify.createServer({
function createServer () { function createServer () {
app.get('/', index) app.get('/', index)
app.get('/dir', rDir)
app.post('/dir', rDir)
app.get('/frame', rFrame) app.get('/frame', rFrame)
app.post('/frame', rFrame) app.post('/frame', rFrame)
app.get('/sequence', () => {}) app.get('/sequence', () => {})
@ -29,6 +31,10 @@ function createServer () {
}) })
} }
function rDir (req, res, next) {
}
function rFrame (req, res, next) { function rFrame (req, res, next) {
intval.frame() intval.frame()
res.send({}) res.send({})