DocHub/backend
Tianyang 954b9bede4 fix: add image preview and replace Monaco with CodeMirror 6
Markdown and image previews were rendering blank because
@monaco-editor/react loads its core assets from cdn.jsdelivr.net at
runtime, which the deployment server's network can't reach. Switching
to @uiw/react-codemirror removes the CDN dependency entirely (all
assets ship in the build) and cuts bundle size from ~2.5MB to ~770KB.

Also add proper image/* content-type detection so images render via
<img> instead of being force-decoded as editor text.
2026-08-01 18:12:19 +08:00
..
app fix: add image preview and replace Monaco with CodeMirror 6 2026-08-01 18:12:19 +08:00
tests fix: natural-sort file tree, indent nested folders, fix editor layout 2026-08-01 17:32:32 +08:00
Dockerfile feat: scaffold FastAPI backend with config and health endpoint 2026-08-01 02:15:01 +08:00
pytest.ini feat: scaffold FastAPI backend with config and health endpoint 2026-08-01 02:15:01 +08:00
requirements.txt refactor: replace Garage/S3 storage with local filesystem storage 2026-08-01 16:30:02 +08:00