configure aemos host
This commit is contained in:
parent
da3684ca60
commit
3274d3a90d
1 changed files with 1 additions and 1 deletions
|
|
@ -8,7 +8,7 @@
|
||||||
[babashka.process :refer [shell]]))
|
[babashka.process :refer [shell]]))
|
||||||
|
|
||||||
(defn create-snippet [{:keys [title slug markdown tags]}]
|
(defn create-snippet [{:keys [title slug markdown tags]}]
|
||||||
(http/post (str (:backend-host config) "/api/snippet")
|
(http/post (str (:backend-host config) "/api/snippet"))
|
||||||
{:headers {:content-type "application/json"}
|
{:headers {:content-type "application/json"}
|
||||||
:body (json/encode {:title title :slug slug :markdown markdown :tags tags})}))
|
:body (json/encode {:title title :slug slug :markdown markdown :tags tags})}))
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue