mirror of
https://github.com/MarginaliaSearch/MarginaliaSearch.git
synced 2025-02-23 21:18:58 +00:00
(site) Update domain parameter type from PathParam to QueryParam
This commit is contained in:
parent
bbdde789e7
commit
bdba53f055
@ -71,7 +71,7 @@ public class SearchSiteInfoService {
|
||||
|
||||
@GET
|
||||
@Path("/site")
|
||||
public ModelAndView<?> handleOverview(@PathParam String domain) {
|
||||
public ModelAndView<?> handleOverview(@QueryParam String domain) {
|
||||
if (domain != null) {
|
||||
// redirect to /site/domainName
|
||||
return new MapModelAndView("/redirect.jte", Map.of("url", "/site/"+domain));
|
||||
|
Loading…
Reference in New Issue
Block a user