Skip to content

Commit

Permalink
fix: small typos in the docs (#1666)
Browse files Browse the repository at this point in the history
I fixed two small typo errors in the docs.
  • Loading branch information
0xflotus authored Jan 26, 2025
1 parent f5c5d7c commit c8de6c2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/src/config-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ keep_alive: 75
# The socket address to bind [default: 0.0.0.0:3000]
listen_addresses: '0.0.0.0:3000'

# Set TileJSON URL path prefix. This overides the default of respecting the X-Rewrite-URL header.
# Set TileJSON URL path prefix. This overrides the default of respecting the X-Rewrite-URL header.
# Only modifies the JSON (TileJSON) returned, martins' API-URLs remain unchanged. If you need to rewrite URLs, please use a reverse proxy.
# Must begin with a `/`.
# Examples: `/`, `/tiles`
Expand Down
2 changes: 1 addition & 1 deletion docs/src/run-with-cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Options:
The socket address to bind. [DEFAULT: 0.0.0.0:3000]
--base-path <BASE_PATH>
Set TileJSON URL path prefix. This overides the default of respecting the X-Rewrite-URL header.
Set TileJSON URL path prefix. This overrides the default of respecting the X-Rewrite-URL header.
Only modifies the JSON (TileJSON) returned, martins' API-URLs remain unchanged. If you need to rewrite URLs, please use a reverse proxy.
Must begin with a `/`.
Examples: `/`, `/tiles`
Expand Down
2 changes: 1 addition & 1 deletion docs/src/sources-sprites.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,4 @@ sprites:
my_sprites: /path/to/some_dir
```
The sprites are now avaliable at `/sprite/my_images,some_dir.png`/ ...
The sprites are now available at `/sprite/my_images,some_dir.png`/ ...
2 changes: 1 addition & 1 deletion martin/src/args/srv.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ pub struct SrvArgs {
pub keep_alive: Option<u64>,
#[arg(help = format!("The socket address to bind. [DEFAULT: {LISTEN_ADDRESSES_DEFAULT}]"), short, long)]
pub listen_addresses: Option<String>,
/// Set TileJSON URL path prefix. This overides the default of respecting the X-Rewrite-URL header.
/// Set TileJSON URL path prefix. This overrides the default of respecting the X-Rewrite-URL header.
/// Only modifies the JSON (TileJSON) returned, martins' API-URLs remain unchanged. If you need to rewrite URLs, please use a reverse proxy.
/// Must begin with a `/`.
/// Examples: `/`, `/tiles`
Expand Down

0 comments on commit c8de6c2

Please sign in to comment.