[bknr-cvs] hans changed trunk/projects/hello-web/src/init.lisp

BKNR Commits bknr at bknr.net
Fri Jun 4 05:37:39 UTC 2010


Revision: 4552
Author: hans
URL: http://bknr.net/trac/changeset/4552

Add :REQUEST-DISPATCHER argument to HUNCHENTOOT:ACCEPTOR instance
creation argument list.

U   trunk/projects/hello-web/src/init.lisp

Modified: trunk/projects/hello-web/src/init.lisp
===================================================================
--- trunk/projects/hello-web/src/init.lisp	2010-05-23 05:29:01 UTC (rev 4551)
+++ trunk/projects/hello-web/src/init.lisp	2010-06-04 05:37:39 UTC (rev 4552)
@@ -24,5 +24,5 @@
   (publish-hello-web)
   (when *webserver*
     (hunchentoot:stop *webserver*))
-  (setq *webserver* (make-instance 'hunchentoot:acceptor :port port))
+  (setq *webserver* (make-instance 'hunchentoot:acceptor :port port :request-dispatcher 'bknr.web:bknr-dispatch))
   (hunchentoot:start *webserver*))





More information about the Bknr-cvs mailing list