Skip to content

Commit

Permalink
wrong order
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelKreil committed Mar 1, 2023
1 parent 5281948 commit e06f4b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/server/tile_server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ impl TileServer {
let mut sources: Vec<(String, usize, Arc<ServerSourceBox>)> = Vec::new();
let mut tile_sources_json_lines: Vec<String> = Vec::new();
while !self.tile_sources.is_empty() {
let (prefix, tile_source) = self.tile_sources.pop().unwrap();
let (prefix, tile_source) = self.tile_sources.remove(0);
let skip = prefix.matches('/').count();
tile_sources_json_lines.push(format!(
"{{ \"url\":\"{}\", \"name\":\"{}\", \"info\":{} }}",
Expand Down

0 comments on commit e06f4b2

Please sign in to comment.