Showing
1 changed file
with
0 additions
and
17 deletions
routes/keyboard.js
deleted
100644 → 0
| 1 | -var express = require('express'); | ||
| 2 | -var app = express.Router(); | ||
| 3 | - | ||
| 4 | -// Kakao Keyboard API | ||
| 5 | -app.get('/', function(req, res) { | ||
| 6 | - const menu = { | ||
| 7 | - "type": 'buttons', | ||
| 8 | - "buttons": ["/설정", "/시작"]}; | ||
| 9 | - | ||
| 10 | - res.status(200).set({ | ||
| 11 | - 'content-type': 'application/json' | ||
| 12 | - }).send(JSON.stringify(menu)); | ||
| 13 | -}); | ||
| 14 | - | ||
| 15 | - | ||
| 16 | -module.exports = app; | ||
| 17 | - |
-
Please register or login to post a comment