loligram should be POST

master
not manx 4 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) (loop for chat in (config-item :loligram-chats)
do (setf (gethash chat *chats*) t))) 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 :acceptor 'lolisp
:content-type toot:@plain) :content-type toot:@plain)
() ()

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

Loading…
Cancel
Save