Skip to content

Commit

Permalink
Update unikernel.ml
Browse files Browse the repository at this point in the history
Co-authored-by: Hannes Mehnert <[email protected]>
  • Loading branch information
PizieDust and hannesm authored Oct 15, 2024
1 parent 8cbf8cd commit 6530a9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unikernel.ml
Original file line number Diff line number Diff line change
Expand Up @@ -1180,7 +1180,7 @@ struct
| "/unikernel/deploy" ->
check_meth `GET (fun () ->
authenticate !store reqd (deploy_form store reqd))
| "/unikernel/destory" ->
| "/unikernel/destroy" ->
check_meth `POST (fun () ->
extract_csrf_token reqd >>= fun (form_csrf, json) ->
authenticate !store reqd ~check_csrf:true ~form_csrf
Expand Down

0 comments on commit 6530a9c

Please sign in to comment.