Implements the ability to dig into history
This commit is contained in:
@@ -27,13 +27,7 @@
|
||||
(defn ^:export init []
|
||||
(dev-setup)
|
||||
|
||||
(.addEventListener (.-body js/document)
|
||||
"htmx:configRequest"
|
||||
(fn [event]
|
||||
(aset (.-headers (.-detail event))
|
||||
"Authorization"
|
||||
(some->> (.getItem js/localStorage "jwt")
|
||||
(str "Token ")))))
|
||||
|
||||
|
||||
|
||||
;; document.body.addEventListener('htmx:configRequest', function(evt) {
|
||||
|
||||
Reference in New Issue
Block a user