chore: 🤖 use rust:1.33.0

This commit is contained in:
Stepan Kuzmin 2019-03-12 11:57:16 +03:00
parent e7e6f2770b
commit 616a11fb80
3 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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 *

View File

@ -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() {