Browse Source

chore: update goog-define vars

rcmerci 8 months ago
parent
commit
6d4062cf8a
2 changed files with 2 additions and 1 deletions
  1. 1 0
      shadow-cljs.edn
  2. 1 1
      src/main/frontend/config.cljs

+ 1 - 0
shadow-cljs.edn

@@ -53,6 +53,7 @@
                           frontend.config/ENABLE-PLUGINS #shadow/env ["ENABLE_PLUGINS" :as :bool :default true]
                           ;; Set to switch file sync server to dev, set this to false in `yarn watch`
                           frontend.config/ENABLE-FILE-SYNC-PRODUCTION #shadow/env ["ENABLE_FILE_SYNC_PRODUCTION" :as :bool :default true]
+                          frontend.config/ENABLE-RTC-SYNC-PRODUCTION #shadow/env ["ENABLE_RTC_SYNC_PRODUCTION" :as :bool :default true]
                           frontend.config/REVISION #shadow/env ["LOGSEQ_REVISION" :default "dev"]} ;; set by git-revision-hook
 
         ;; NOTE: electron, browser/mobile-app use different asset-paths.

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

@@ -22,7 +22,7 @@
 (goog-define REVISION "unknown")
 (defonce revision REVISION)
 
-(def ENABLE-FILE-SYNC-PRODUCTION false)
+(goog-define ENABLE-FILE-SYNC-PRODUCTION false)
 
 ;; this is a feature flag to enable the account tab
 ;; when it launches (when pro plan launches) it should be removed