Browse Source

fix: don't commit capacitor's server settings into source control

Tienson Qin 4 years ago
parent
commit
443c55915f
2 changed files with 5 additions and 5 deletions
  1. 4 4
      capacitor.config.ts
  2. 1 1
      src/main/frontend/ui.cljs

+ 4 - 4
capacitor.config.ts

@@ -20,10 +20,10 @@ const config: CapacitorConfig = {
     }
     // do not commit this into source control
     // source: https://capacitorjs.com/docs/guides/live-reload
-    , server: {
-       url: process.env.LOGSEQ_APP_SERVER_URL,
-       cleartext: true
-    }
+    // , server: {
+    //    url: process.env.LOGSEQ_APP_SERVER_URL,
+    //    cleartext: true
+    // }
 };
 
 export = config;

+ 1 - 1
src/main/frontend/ui.cljs

@@ -159,7 +159,7 @@
         klass (if small? (str klass ".px-2.py-1") klass)
         klass (if large? (str klass ".text-base") klass)]
     (if href
-      [:button.ui__button.is-link
+      [:a.ui__button.is-link
        (merge
         {:type  "button"
          :class (str (util/hiccup->class klass) " " class)}