Skip to content
This repository was archived by the owner on Apr 5, 2024. It is now read-only.

Commit e29d69b

Browse files
committed
allow Filename in preview url
1 parent b198b99 commit e29d69b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/Main.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ app req send =
7373
["data", "download"] -> download req send
7474
["data", "delete", id] -> delete req send
7575
["data","preview",id] -> preview req send
76+
["data","preview",id,_] -> preview req send
7677
["data", "health"] -> health req send
7778
-- anything else: 404
7879
missingEndpoint ->

0 commit comments

Comments
 (0)