<commit_before>(in-package :net.aserve)

(publish :path "/"
	 :function #'(lambda (req ent)
		       (with-http-response (req ent)
			 (with-http-body (req ent)
			   (html
			    (:h1 "Hello World")
			    (:princ "Congratulations, you are running Lisp on Heroku")
			    :p
			    ((:img :src "lisp-glossy.jpg"))
			    )))))

(publish-directory
 :prefix "/"
 :destination (namestring (make-pathname :directory (append cl-user::*build-dir* (append '("public"))))))
		   


<commit_msg>try rooting in /app<commit_after>(in-package :net.aserve)

(publish :path "/"
	 :function #'(lambda (req ent)
		       (with-http-response (req ent)
			 (with-http-body (req ent)
			   (html
			    (:h1 "Hello World")
			    (:princ "Congratulations, you are running Lisp on Heroku")
			    :p
			    ((:img :src "lisp-glossy.jpg"))
			    )))))

(publish-directory
 :prefix "/"
; :destination (namestring (make-pathname :directory (append cl-user::*build-dir* (append '("public")))))
 :destination "/app/public/"		;apparently this is where the app really lives, not *build-dir*?
 )

		   



{'fraction_non_alphanumeric': 0.17238183503243745, 'fraction_numerical': 0.0018535681186283596, 'mean_word_length': 2.9130434782608696, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2057177', 'n_tokens_mistral': 422, 'n_tokens_neox': 355, 'n_words': 95}