- Add SVG favicon using pine/paper design tokens; wire into index.html - Add SidebarLabel component with ResizeObserver overflow detection and CSS-only tooltip (pine-deep bg, IBM Plex Mono, 0.08s fade, no delay) - Fix Meilisearch invalid_api_key: default api key to None instead of '' so no Authorization header is sent when auth is disabled - Stub ResizeObserver in test setup for jsdom compatibility - Wrap async renders in act() and advance fake timers inside act() to eliminate all act() warnings in App.test.tsx
14 lines
502 B
Python
14 lines
502 B
Python
import os
|
|
|
|
|
|
class Settings:
|
|
def __init__(self):
|
|
self.storage_dir = os.environ.get("STORAGE_DIR", "/data/documents")
|
|
self.meilisearch_host = os.environ.get("MEILISEARCH_HOST", "http://localhost:7700")
|
|
self.meilisearch_api_key = os.environ.get("MEILISEARCH_API_KEY") or None
|
|
self.meilisearch_index = os.environ.get("MEILISEARCH_INDEX", "documents")
|
|
self.cors_origins = os.environ.get("CORS_ORIGINS", "http://localhost:5173").split(",")
|
|
|
|
|
|
settings = Settings()
|