Skip to content

Commit

Permalink
fixed the service not being registered
Browse files Browse the repository at this point in the history
  • Loading branch information
CommanderStorm committed Oct 21, 2024
1 parent 988c22d commit bf00d85
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion martin/src/srv/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,9 @@ pub fn router(cfg: &mut web::ServiceConfig, #[allow(unused_variables)] usr_cfg:
.service(get_tile);

#[cfg(feature = "sprites")]
cfg.service(crate::srv::sprites::get_sprite_json)
cfg.service(crate::srv::sprites::get_sprite_sdf_json)
.service(crate::srv::sprites::get_sprite_json)
.service(crate::srv::sprites::get_sprite_sdf_png)
.service(crate::srv::sprites::get_sprite_png);

#[cfg(feature = "fonts")]
Expand Down

0 comments on commit bf00d85

Please sign in to comment.