diff options
author | Andinus <andinus@nand.sh> | 2022-06-11 15:27:59 +0530 |
---|---|---|
committer | Andinus <andinus@nand.sh> | 2022-06-11 15:27:59 +0530 |
commit | 332862889f5add755012467d1a6303a7e2127bfa (patch) | |
tree | 5fd1fcf979829e0bdfd359e7ee63db885ea59dc4 /lib | |
parent | 3e8364c123f9e54e17540c9fbe5cdcc072355079 (diff) | |
download | crater-332862889f5add755012467d1a6303a7e2127bfa.tar.gz |
Update allowed methods
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Crater/Service.rakumod | 1 |
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), |