Added gps-summary endpoint for Map integration
This commit is contained in:
@@ -853,6 +853,10 @@ fn main() -> std::io::Result<()> {
|
||||
web::resource("/photos")
|
||||
.route(web::get().to(files::list_photos::<SqliteTagDao, RealFileSystem>)),
|
||||
)
|
||||
.service(
|
||||
web::resource("/photos/gps-summary")
|
||||
.route(web::get().to(files::get_gps_summary)),
|
||||
)
|
||||
.service(web::resource("/file/move").post(move_file::<RealFileSystem>))
|
||||
.service(get_image)
|
||||
.service(upload_image)
|
||||
|
||||
Reference in New Issue
Block a user