浏览代码

missing endpoint variable

Gamaliel Espinoza 7 年之前
父节点
当前提交
c4c5b6428d
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      ondemand.js

+ 1 - 0
ondemand.js

@@ -95,6 +95,7 @@ function start() {
   //});
 }
 
+let endpoint = express();
 endpoint.get('/info', function(request, response) {
   response.send(JSON.stringify({
     'version': version,