Use downloaded HTMX
This commit is contained in:
parent
d62ff175dd
commit
897dd291c7
2 changed files with 11 additions and 4 deletions
src
|
@ -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*
|
||||||
|
|
|
@ -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>)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue