Skip to content

Commit

Permalink
fix: add missing asset-domain
Browse files Browse the repository at this point in the history
  • Loading branch information
tiensonqin committed Feb 2, 2021
1 parent 9cba5e4 commit 5d61419
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/frontend/config.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@
"http://localhost:3000/api/v1/"
(str website "/api/v1/")))

(def asset-domain (util/format "https://asset.%s.com"
app-name))

(defn asset-uri
[path]
(if (util/file-protocol?)
Expand Down

0 comments on commit 5d61419

Please sign in to comment.