Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Joel Lappalainen <[email protected]>
  • Loading branch information
leonardehrenfried and optionsome authored Oct 27, 2023
1 parent 8517f89 commit ed8c514
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions docs/Basic-Tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,12 @@ with your local OpenTripPlanner instance.

This map-based user interface is in fact sending HTTP GET requests to the OTP server running on your
local machine. It can be informative to watch the HTTP requests and responses being generated using
the developer tools in your web browser. OTP's built-in web server will run by default on ports 8080
and 8081 for HTTP and HTTPS respectively. If by any chance some other software is already using one
or both of those port numbers, you can specify different port numbers with switches
like `--port 8801`.
```suggestion
the developer tools in your web browser. OTP's built-in web server will run by default on port 8080.
If by any chance some other software is already using that port number, you can specify a different
port number with a switch
`--port 8801`.
## Saving a Graph
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public void run() {
);
httpListener.setSecure(false);

// For both HTTP and HTTPS listeners: enable gzip compression, set thread pool, add listener to httpServer.
// For the HTTP listeners: enable gzip compression, set thread pool, add listener to httpServer.
CompressionConfig cc = httpListener.getCompressionConfig();
cc.setCompressionMode(CompressionConfig.CompressionMode.ON);
cc.setCompressionMinSize(50000); // the min number of bytes to compress
Expand Down

0 comments on commit ed8c514

Please sign in to comment.