somewhat of a api
This commit is contained in:
parent
88d600b464
commit
14dc59b6d3
1 changed files with 6 additions and 11 deletions
|
@ -1,17 +1,12 @@
|
||||||
var express = require('express');
|
var express = require('express');
|
||||||
var api = express.Router();
|
var api = express.Router();
|
||||||
|
var config = require('../../config');
|
||||||
|
|
||||||
api.get('/', (req, res) => {
|
api.get('/', (req, res) => {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
console.log(ints['sfw'][1])
|
|
||||||
|
|
||||||
res.status(200).jsonp({
|
res.status(200).jsonp({
|
||||||
success: true
|
name: config.name,
|
||||||
})
|
version: config.version
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
module.exports = api;
|
module.exports = api;
|
Loading…
Reference in a new issue