From 443c55915f2b2d4122332d97998922c174ef60d2 Mon Sep 17 00:00:00 2001 From: Tienson Qin Date: Wed, 1 Dec 2021 10:41:01 +0800 Subject: [PATCH] fix: don't commit capacitor's server settings into source control --- capacitor.config.ts | 8 ++++---- src/main/frontend/ui.cljs | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/capacitor.config.ts b/capacitor.config.ts index 5e8c0e23d..e2b4c80ec 100644 --- a/capacitor.config.ts +++ b/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; diff --git a/src/main/frontend/ui.cljs b/src/main/frontend/ui.cljs index 54f6590ec..e373b0bd2 100644 --- a/src/main/frontend/ui.cljs +++ b/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)}