Просмотр исходного кода

Use cdn asset instead of our own server

Resolved #160
Tienson Qin 5 лет назад
Родитель
Сommit
68d482c247
2 измененных файлов с 2 добавлено и 1 удалено
  1. 1 0
      .gitignore
  2. 1 1
      web/shadow-cljs.edn

+ 1 - 0
.gitignore

@@ -22,6 +22,7 @@ node_modules/
 /resources/static/js/publishing/manifest.edn
 /resources/static/js/publishing/manifest.edn
 /resources/static/style.css
 /resources/static/style.css
 /resources/static/js/publishing/code-editor.js
 /resources/static/js/publishing/code-editor.js
+/resources/static/js/code-editor.js
 tauri-release/
 tauri-release/
 
 
 .cpcache/
 .cpcache/

+ 1 - 1
web/shadow-cljs.edn

@@ -13,7 +13,7 @@
 
 
    :output-dir "../resources/static/js"
    :output-dir "../resources/static/js"
    :asset-path "/static/js"
    :asset-path "/static/js"
-
+   :release {:asset-path "https://asset.logseq.com/static/js"}
    :compiler-options {:infer-externs :auto
    :compiler-options {:infer-externs :auto
                       :output-feature-set :es6
                       :output-feature-set :es6
                       :externs ["datascript/externs.js"
                       :externs ["datascript/externs.js"