diff options
Diffstat (limited to 'webstats/server.lisp')
-rw-r--r-- | webstats/server.lisp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/webstats/server.lisp b/webstats/server.lisp index 0c80060..148f0aa 100644 --- a/webstats/server.lisp +++ b/webstats/server.lisp @@ -69,6 +69,7 @@ (hunchentoot:define-easy-handler (stat-js :uri "/stats.js") () + (setf (hunchentoot:content-type*) "text/javascript") (ps:ps-compile-file "stats.paren")) (hunchentoot:define-easy-handler (link :uri "/link") () @@ -76,7 +77,7 @@ (:doctype) (:html (:header (:title "hu yu ipi") - (:script :src "/stats.js")) + (:script :src "/stats.js" :type "text/javascript")) (:body (:p "learning " (:a :href "vars" "some explodiert") |