mirror of
https://github.com/maplibre/martin.git
synced 2024-12-19 04:41:46 +03:00
chore: 🤖 use rust:1.33.0
This commit is contained in:
parent
e7e6f2770b
commit
616a11fb80
@ -3,7 +3,7 @@ version: 2
|
||||
jobs:
|
||||
build:
|
||||
docker:
|
||||
- image: circleci/rust:1.32.0
|
||||
- image: circleci/rust:1.33.0
|
||||
environment:
|
||||
DATABASE_URL: postgres://postgres@localhost/test
|
||||
RUST_LOG: actix_web=debug,postgres=debug,martin=debug
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM ekidd/rust-musl-builder:1.31.1 as builder
|
||||
FROM ekidd/rust-musl-builder:1.33.0 as builder
|
||||
|
||||
ADD . .
|
||||
RUN sudo chmod -R 0777 *
|
||||
|
@ -19,9 +19,9 @@ pub fn build_tilejson(
|
||||
let path =
|
||||
headers
|
||||
.get("x-rewrite-url")
|
||||
.map_or(Ok(path.trim_right_matches(".json")), |header| {
|
||||
.map_or(Ok(path.trim_end_matches(".json")), |header| {
|
||||
let header_str = header.to_str()?;
|
||||
Ok(header_str.trim_right_matches(".json"))
|
||||
Ok(header_str.trim_end_matches(".json"))
|
||||
})?;
|
||||
|
||||
let query = if query_string.is_empty() {
|
||||
|
Loading…
Reference in New Issue
Block a user