summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--lib/Crater/Service.rakumod1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Crater/Service.rakumod b/lib/Crater/Service.rakumod
index 657d77b..1119e5b 100644
--- a/lib/Crater/Service.rakumod
+++ b/lib/Crater/Service.rakumod
@@ -27,6 +27,7 @@ sub MAIN(
 
     my Cro::Service $http = Cro::HTTP::Server.new(
         http => <1.1>,
+        allowed-methods => <GET POST>,
         host => %conf<server><host> || die("host not set"),
         port => %conf<server><port> || die("port not set"),
         application => routes(:$password, :$gallery),