microgen-client
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -59,4 +59,11 @@ const http = require('http'); | ||
res.send({ message: "invalid hostname" }) | ||
return; | ||
} | ||
if((app.get("microgen") !== "authorized") && clientId) { | ||
if(!clientId) { | ||
res.send({ message: "invalid hostname" }) | ||
return; | ||
} | ||
if((app.get("microgen") !== "authorized")) { | ||
client(clientId) | ||
@@ -63,0 +70,0 @@ .then(res => { |
{ | ||
"name": "microgen-client", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
2377
80