Skip to content

Commit

Permalink
parse config
Browse files Browse the repository at this point in the history
  • Loading branch information
msbarry committed Feb 10, 2024
1 parent f8d2c37 commit 40d3b2d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions caddy/pmtiles_proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,12 @@ func (m *Middleware) UnmarshalCaddyfile(d *caddyfile.Dispenser) error {
if !d.Args(&m.PublicURL) {
return d.ArgErr()
}
case "tile_etag":
var tileEtag string
if !d.Args(&tileEtag) {
return d.ArgErr()
}
m.TileEtag = tileEtag == "true"
}
}
}
Expand Down

0 comments on commit 40d3b2d

Please sign in to comment.