Skip to content

Fix path encoding && chokidar not working with deno2#42

Open
aotsukiqx wants to merge 2 commits intovrtmrz:mainfrom
aotsukiqx:main
Open

Fix path encoding && chokidar not working with deno2#42
aotsukiqx wants to merge 2 commits intovrtmrz:mainfrom
aotsukiqx:main

Conversation

@aotsukiqx
Copy link
Copy Markdown

ALL FIXED ARE DONE BY AI.

Summary

Fix CouchDB authentication in Deno 2 environment by using explicit Authorization header instead of PouchDB's auth option.

Problem

In Deno 2 with node-fetch, PouchDB's auth option (username/password) doesn't correctly set the Authorization header, causing 401 errors when connecting to protected CouchDB instances.

Solution

Use explicit Authorization: Basic header via fetch override in DirectFileManipulatorV2.ts, bypassing the broken PouchDB auth mechanism.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant