From 425496844b136fa15421d9abae52299afe8e599a Mon Sep 17 00:00:00 2001 From: Debanjum Singh Solanky Date: Sat, 4 May 2024 13:26:04 +0530 Subject: [PATCH] Rename assets URL from Khoj S3 bucket to assets.khoj.dev Server khoj assets from khoj domain --- documentation/docs/clients/web.md | 2 +- documentation/docs/data-sources/share_your_data.md | 2 +- documentation/docusaurus.config.js | 2 +- src/interface/desktop/search.html | 2 +- src/khoj/database/adapters/__init__.py | 2 +- src/khoj/interface/web/chat.html | 2 +- src/khoj/interface/web/login.html | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/documentation/docs/clients/web.md b/documentation/docs/clients/web.md index dc583d71..0d6def28 100644 --- a/documentation/docs/clients/web.md +++ b/documentation/docs/clients/web.md @@ -25,7 +25,7 @@ You can upload documents to Khoj from the web interface, one at a time. This is 1. You can drag and drop the document into the chat window. 2. Or click the paperclip icon in the chat window and select the document from your file system. -![demo of dragging and dropping a file](https://khoj-web-bucket.s3.amazonaws.com/drag_drop_file.gif) +![demo of dragging and dropping a file](https://assets.khoj.dev/drag_drop_file.gif) ### Install on Phone You can optionally install Khoj as a [Progressive Web App (PWA)](https://web.dev/learn/pwa/installation). This makes it quick and easy to access Khoj on your phone. diff --git a/documentation/docs/data-sources/share_your_data.md b/documentation/docs/data-sources/share_your_data.md index 2299b7d0..86e0d0dc 100644 --- a/documentation/docs/data-sources/share_your_data.md +++ b/documentation/docs/data-sources/share_your_data.md @@ -13,4 +13,4 @@ There are several ways you can get started with sharing your data with the Khoj - Setup the sync options for either [Obsidian](/clients/obsidian) or [Emacs](/clients/emacs) to automatically sync your documents with Khoj. This is best if you are already using these tools and want to leverage Khoj's AI capabilities. - Configure your [Notion](/data-sources/notion_integration) or [Github](/data-sources/github_integration) to sync with Khoj. By providing your credentials, you can keep the data synced in the background. -![demo of dragging and dropping a file](https://khoj-web-bucket.s3.amazonaws.com/drag_drop_file.gif) +![demo of dragging and dropping a file](https://assets.khoj.dev/drag_drop_file.gif) diff --git a/documentation/docusaurus.config.js b/documentation/docusaurus.config.js index 526e8295..ed594bbf 100644 --- a/documentation/docusaurus.config.js +++ b/documentation/docusaurus.config.js @@ -80,7 +80,7 @@ const config = { {name: 'og:type', content: 'website'}, {name: 'og:site_name', content: 'Khoj Documentation'}, {name: 'og:description', content: 'Quickly get started with using or self-hosting Khoj'}, - {name: 'og:image', content: 'https://khoj-web-bucket.s3.amazonaws.com/link_preview_docs.png'}, + {name: 'og:image', content: 'https://assets.khoj.dev/link_preview_docs.png'}, {name: 'og:url', content: 'https://docs.khoj.dev'}, {name: 'keywords', content: 'khoj, khoj ai, chatgpt, open ai, open source, productivity'} ], diff --git a/src/interface/desktop/search.html b/src/interface/desktop/search.html index 36a81d9b..1f2133fe 100644 --- a/src/interface/desktop/search.html +++ b/src/interface/desktop/search.html @@ -2,7 +2,7 @@ - + Khoj - Search diff --git a/src/khoj/database/adapters/__init__.py b/src/khoj/database/adapters/__init__.py index fac2ca27..a783e8be 100644 --- a/src/khoj/database/adapters/__init__.py +++ b/src/khoj/database/adapters/__init__.py @@ -485,7 +485,7 @@ class ClientApplicationAdapters: class AgentAdapters: DEFAULT_AGENT_NAME = "Khoj" - DEFAULT_AGENT_AVATAR = "https://khoj-web-bucket.s3.amazonaws.com/lamp-128.png" + DEFAULT_AGENT_AVATAR = "https://assets.khoj.dev/lamp-128.png" DEFAULT_AGENT_SLUG = "khoj" @staticmethod diff --git a/src/khoj/interface/web/chat.html b/src/khoj/interface/web/chat.html index bcffc254..a0e7f628 100644 --- a/src/khoj/interface/web/chat.html +++ b/src/khoj/interface/web/chat.html @@ -3,7 +3,7 @@ - + Khoj - Chat diff --git a/src/khoj/interface/web/login.html b/src/khoj/interface/web/login.html index 91ef6007..98bfbd23 100644 --- a/src/khoj/interface/web/login.html +++ b/src/khoj/interface/web/login.html @@ -7,7 +7,7 @@ - +