Skip to content

Commit 627ebef

Browse files
committed
fix: delete with extension
1 parent ff087b4 commit 627ebef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/simple.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,8 +306,8 @@ impl Display for FileName {
306306
#[routes]
307307
#[delete("{id}.{ext}")]
308308
#[delete("{id}")]
309-
#[get("delete/{id}")]
310309
#[get("delete/{id}.{ext}")]
310+
#[get("delete/{id}")]
311311
async fn delete_entry(
312312
Path(FileName { id, .. }): Path<FileName>,
313313
config: Data<Config>,

0 commit comments

Comments
 (0)