loligram should be POST

master
not manx 5 years ago
parent 13e5d456de
commit ecabaa908d
Signed by: C-xC-c
GPG Key ID: F52ED472284EF2F4

@ -14,7 +14,7 @@
(loop for chat in (config-item :loligram-chats)
do (setf (gethash chat *chats*) t)))
(toot:handle (loligram :get (str "/loli/" (config-item :loligram-url))
(toot:handle (loligram :post (str "/loli/" (config-item :loligram-url))
:acceptor 'lolisp
:content-type toot:@plain)
()

@ -8,9 +8,7 @@
(configure-loligram)
(setf *serb* (make-instance 'toot:acceptor
:port (config-item :port)
:name 'lolisp
:message-log-destination *error-output*
:access-log-destination *standard-output*)))
:name 'lolisp)))
(defun start ()
(handler-case (configure)

Loading…
Cancel
Save