Use downloaded HTMX

This commit is contained in:
Akira Tempaku 2024-02-01 21:30:28 +09:00
commit 897dd291c7
2 changed files with 11 additions and 4 deletions

View file

@ -12,9 +12,16 @@
(defun start-app () (defun start-app ()
(unless *handler* (unless *handler*
(setf *handler* (clack:clackup (lack:builder pages:*index-app*) (setf *handler*
:address "localhost" (clack:clackup (lack:builder
:port 3000)))) (:static
:path "/static/"
:root (asdf:system-relative-pathname
:hp
"static/"))
pages:*index-app*)
:address "localhost"
:port 3000))))
(defun stop-app () (defun stop-app ()
(when *handler* (when *handler*

View file

@ -10,7 +10,7 @@
<html> <html>
<head> <head>
<title>skyizwhite.dev</title> <title>skyizwhite.dev</title>
<script src="https://unpkg.com/htmx.org@1.3.1"></script> <script src="/static/htmx.min.js" ></script>
</head> </head>
<body>,@(progn children)</body> <body>,@(progn children)</body>
</html>) </html>)