Update default Khoj server URL to Khoj cloud on Emacs, Obsidian clients

This commit is contained in:
Debanjum Singh Solanky
2023-11-18 16:14:35 -08:00
parent 8775ce730a
commit e1bf1f0e86
3 changed files with 4 additions and 4 deletions

View File

@@ -63,7 +63,7 @@
;; Khoj Static Configuration ;; Khoj Static Configuration
;; ------------------------- ;; -------------------------
(defcustom khoj-server-url "http://localhost:42110" (defcustom khoj-server-url "https://app.khoj.dev"
"Location of Khoj API server." "Location of Khoj API server."
:group 'khoj :group 'khoj
:type 'string) :type 'string)
@@ -94,7 +94,7 @@
:type 'number) :type 'number)
(defcustom khoj-api-key nil (defcustom khoj-api-key nil
"API Key to Khoj server." "API Key to your Khoj. Default at https://app.khoj.dev/config#clients."
:group 'khoj :group 'khoj
:type 'string) :type 'string)

View File

@@ -75,7 +75,7 @@ export default class Khoj extends Plugin {
if (this.settings.khojUrl === "https://app.khoj.dev") { if (this.settings.khojUrl === "https://app.khoj.dev") {
if (this.settings.khojApiKey === "") { if (this.settings.khojApiKey === "") {
new Notice(`Khoj API key is not configured. Please visit https://app.khoj.dev to get an API key.`); new Notice(`Khoj API key is not configured. Please visit https://app.khoj.dev/config#clients to get an API key.`);
return; return;
} }

View File

@@ -13,7 +13,7 @@ export interface KhojSetting {
export const DEFAULT_SETTINGS: KhojSetting = { export const DEFAULT_SETTINGS: KhojSetting = {
resultsCount: 6, resultsCount: 6,
khojUrl: 'http://127.0.0.1:42110', khojUrl: 'https://app.khoj.dev',
khojApiKey: '', khojApiKey: '',
connectedToBackend: false, connectedToBackend: false,
autoConfigure: true, autoConfigure: true,