Skip to content

πŸ“š The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.

Fix conf

Smaug6739db7c4fad7913
diff --git a/frontend/.env.development b/frontend/.env.development
index e988f899..30dc16bf 100644
--- a/frontend/.env.development
+++ b/frontend/.env.development
@@ -1,2 +1,2 @@
VITE_BASE_API="http://localhost:8201"
-VITE_BASE_CDN="http://localhost:9000/alexandrie/"
\ No newline at end of file
+VITE_BASE_CDN="http://localhost:9000/alexandrie"
\ No newline at end of file
diff --git a/frontend/composables/utils.ts b/frontend/composables/utils.ts
index 40566f80..b7645740 100644
--- a/frontend/composables/utils.ts
+++ b/frontend/composables/utils.ts
@@ -9,7 +9,7 @@ export const isMobile = () => (import.meta.client ? window.innerWidth <= 768 : f
export const isTablet = () => (import.meta.client ? window.innerWidth <= 1280 : false);
export function useAvatar(user: User): string {
- return user.avatar ? CDN + user.id + '/avatar' : CDN + '/default_avatar.png';
+ return user.avatar ? CDN + '/' + user.id + '/avatar' : CDN + '/default_avatar.png';
}
export const AppColors = ['', 'blue', 'red', 'green', 'yellow', 'purple', 'pink', 'teal', 'grey'];