osmoscope/brouter_suspects integration
This commit is contained in:
parent
0ca83f5bfc
commit
5ba717bcbb
2 changed files with 117 additions and 26 deletions
|
|
@ -173,7 +173,7 @@ public class RouteServer extends Thread
|
|||
}
|
||||
else if ( url.startsWith( "/brouter/suspects" ) )
|
||||
{
|
||||
writeHttpHeader(bw, "text/html");
|
||||
writeHttpHeader(bw, url.endsWith( ".json" ) ? "application/json" : "text/html");
|
||||
SuspectManager.process( url, bw );
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue