Commit 0ad7dfbe authored by François Agneray's avatar François Agneray
Browse files

Anis server host settings in services

parent 593e570b
......@@ -64,9 +64,7 @@ final class ServiceAction
)->withStatus(400);
}
$uri = $request->getUri();
$searchUri = $uri->getScheme() . '://' . $uri->getHost() . ':' . $uri->getPort();
$searchUri .= '/search/' . $args['instance'] . '/data/' . $args['dname'];
$searchUri = '/search/' . $args['instance'] . '/data/' . $args['dname'];
$searchUri .= '?a=' . $queryParams['a'];
if (array_key_exists('c', $queryParams)) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment