(search) Hopefully fix race condition that leaves the response with no Content-type header
This commit is contained in:
parent
67195592c6
commit
98983c1015
@ -50,6 +50,8 @@ public class SearchSiteInfoService {
|
||||
String domainName = request.params("site");
|
||||
String view = request.queryParamOrDefault("view", "info");
|
||||
|
||||
response.type("text/html");
|
||||
|
||||
if (null == domainName || domainName.isBlank()) {
|
||||
return null;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user