mirror of
https://github.com/rabbibotton/clog.git
synced 2025-12-06 02:30:42 -08:00
ability to switch static routes at run-time
This commit is contained in:
parent
144a4e2133
commit
eb63715883
9 changed files with 244 additions and 237 deletions
|
|
@ -81,6 +81,13 @@
|
|||
(let ((app (connection-data-item panel "builder-app-data"))
|
||||
(val (text-value (entry-point panel))))
|
||||
(unless (equal val "")
|
||||
(setf *static-root*
|
||||
(merge-pathnames (if (equal (current-project app) "clog")
|
||||
"./static-root/"
|
||||
"./www/")
|
||||
(format nil "~A" (asdf:system-source-directory (current-project app)))))
|
||||
(alert-toast panel "Static Root Set"
|
||||
*static-root* :color-class "w3-yellow")
|
||||
(setf clog:*clog-debug*
|
||||
(lambda (event data)
|
||||
(with-clog-debugger (panel
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue