Use downloaded HTMX

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

View file

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

View file

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