Skip to content

Commit 5942d1e

Browse files
committed
feat(web): add bezier2 route
1 parent 997a58b commit 5942d1e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

web/app/Main.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ runWebServer proc ts =
4444
makeDrawRoute "CIRCLE" "circle" ["color", "x", "y", "r"]
4545
makeDrawRoute "LINE" "line" ["color", "x", "y", "x2", "y2"]
4646
makeDrawRoute "COPY_RECT" "copy_rect" ["x", "y", "x2", "y2", "w", "h"]
47+
makeDrawRoute "BEZIER2" "bezier2" ["color", "x0", "y0", "x1", "y1", "x2", "y2"]
4748

4849
delete "/pane/:pane" $
4950
pathParam "pane" >>= checkAuthScotty >>= \pane ->

0 commit comments

Comments
 (0)