somewhat of a api

This commit is contained in:
codepupper 2019-11-11 20:57:16 +01:00
parent 88d600b464
commit 14dc59b6d3

View file

@ -1,17 +1,12 @@
var express = require('express');
var api = express.Router();
var config = require('../../config');
api.get('/', (req, res) => {
console.log(ints['sfw'][1])
res.status(200).jsonp({
success: true
})
res.status(200).jsonp({
name: config.name,
version: config.version
});
});
module.exports = api;
module.exports = api;