diff --git a/src/routes/connect.ts b/src/routes/connect.ts index 1ad79ae..0e71fe8 100644 --- a/src/routes/connect.ts +++ b/src/routes/connect.ts @@ -6,9 +6,9 @@ import * as _ from 'lodash'; async function checkConnection(req, res) { - const params = req.params; + const query = req.query; - const clientUrl = params.url; + const clientUrl = query.url; if (_.isEmpty(clientUrl)) { res.status(400).send('"url" field is required'); return;