Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
anis
anis-server
Commits
0ad7dfbe
Commit
0ad7dfbe
authored
Sep 16, 2019
by
François Agneray
Browse files
Anis server host settings in services
parent
593e570b
Changes
1
Show whitespace changes
Inline
Side-by-side
src/Action/Search/ServiceAction.php
View file @
0ad7dfbe
...
...
@@ -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
))
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment