UNPKG
iss-gateway
Version:
latest (0.0.8)
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
ISS Gateway for Domoticz
github.com/spawnrider/iss-gateway
spawnrider/iss-gateway
iss-gateway
/
routes
/
system.js
11 lines
(8 loc)
•
266 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
var
express =
require
(
'express'
);
var
nconf =
require
(
'nconf'
);
var
router = express.
Router
();
/* GET System info */
router.
get
(
'/'
,
function
(
req, res, next
) { res.
send
({
id
:
'ISS-Gateway v'
+nconf.
get
(
'version'
) ,
apiversion
:
1
}); });
module
.
exports
= router;