handle no jetty-dir css
This commit is contained in:
parent
de005c68fd
commit
7e9fbc7493
|
@ -368,9 +368,11 @@ public class ResourceHandler extends AbstractHandler
|
|||
if (resource==null || !resource.exists())
|
||||
{
|
||||
if (target.endsWith("/jetty-dir.css"))
|
||||
{
|
||||
response.setContentType("text/css");
|
||||
{
|
||||
resource = getStylesheet();
|
||||
if (resource==null)
|
||||
return;
|
||||
response.setContentType("text/css");
|
||||
}
|
||||
else
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue