Przeglądaj źródła

missing endpoint variable

Gamaliel Espinoza 7 lat temu
rodzic
commit
c4c5b6428d
1 zmienionych plików z 1 dodań i 0 usunięć
  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,