chore: add basic testing instructions

Move commented out PUBLISH-API-BASE so that it actually works
This commit is contained in:
Gabriel Horner
2026-01-20 15:09:13 -05:00
parent 6c58b77392
commit a24a7d48fe
2 changed files with 15 additions and 2 deletions

View File

@@ -25,8 +25,6 @@
;; when it launches (when pro plan launches) it should be removed
(def ENABLE-SETTINGS-ACCOUNT-TAB false)
;; (def PUBLISH-API-BASE "http://localhost:8787")
(if ENABLE-FILE-SYNC-PRODUCTION
(do (def LOGIN-URL
"https://logseq-prod.auth.us-east-1.amazoncognito.com/login?client_id=3c7np6bjtb4r1k1bi9i049ops5&response_type=code&scope=email+openid+phone&redirect_uri=logseq%3A%2F%2Fauth-callback")
@@ -50,6 +48,9 @@
(def OAUTH-DOMAIN "logseq-test2.auth.us-east-2.amazoncognito.com")
(def PUBLISH-API-BASE "https://logseq-publish-staging.logseq.workers.dev")))
;; Enable for local development
;; (def PUBLISH-API-BASE "http://localhost:8787")
(goog-define ENABLE-RTC-SYNC-PRODUCTION false)
(if ENABLE-RTC-SYNC-PRODUCTION
(def RTC-WS-URL "wss://ws.logseq.com/rtc-sync?token=%s")