Fix: Resolve account login issues in Node.js hosted version

In a previous commit, a new proxy endpoint was added to the backend to resolve CORS errors that occurred when the frontend directly fetched data from Risu Realm.

However, the proxy endpoint handler failed to properly process POST requests, causing account login failures. Additionally, the backend was inefficiently performing complex body processing.

The updated code now directly pipes the original request, providing a more efficient and reliable solution.
This commit is contained in:
shirosaki-hana
2025-04-17 13:14:12 +09:00
parent 21561fe5ff
commit e0038749a4
3 changed files with 45 additions and 100 deletions

View File

@@ -69,7 +69,6 @@
"mnemonist": "^0.40.3",
"mobile-drag-drop": "3.0.0-rc.0",
"msgpackr": "1.10.1",
"node-fetch": "2",
"node-html-parser": "^6.1.12",
"ollama": "^0.5.0",
"pdfjs-dist": "^4.0.379",