@ -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;