diff --git a/loligram.lisp b/loligram.lisp index 2a0d26a..8abf133 100644 --- a/loligram.lisp +++ b/loligram.lisp @@ -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) () diff --git a/main.lisp b/main.lisp index d12cff0..360bfb1 100644 --- a/main.lisp +++ b/main.lisp @@ -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)