ソースを参照

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,