diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2020-06-19 22:23:29 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2020-06-19 22:23:29 -0700 |
commit | 29ded4ce1e6e39d4d2c02bacf5e3387e7774c9bd (patch) | |
tree | bb978814f48dedb9cab826133df8dbc1fff906fa /src/main/java/org/traccar | |
parent | 9084c4db98eef6621e93b3f0fce6e7a61b683a06 (diff) | |
download | trackermap-server-29ded4ce1e6e39d4d2c02bacf5e3387e7774c9bd.tar.gz trackermap-server-29ded4ce1e6e39d4d2c02bacf5e3387e7774c9bd.tar.bz2 trackermap-server-29ded4ce1e6e39d4d2c02bacf5e3387e7774c9bd.zip |
Fix HTML format
Diffstat (limited to 'src/main/java/org/traccar')
-rw-r--r-- | src/main/java/org/traccar/web/WebServer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/web/WebServer.java b/src/main/java/org/traccar/web/WebServer.java index 1f71bebc3..12fa80d10 100644 --- a/src/main/java/org/traccar/web/WebServer.java +++ b/src/main/java/org/traccar/web/WebServer.java @@ -92,7 +92,7 @@ public class WebServer { @Override protected void handleErrorPage( HttpServletRequest request, Writer writer, int code, String message) throws IOException { - writer.write("<!DOCTYPE<html><head><title>Error</title></head><html><body>" + writer.write("<!DOCTYPE><html><head><title>Error</title></head><html><body>" + code + " - " + HttpStatus.getMessage(code) + "</body></html>"); } }); |