feat(frontend): update layout, UI components, stores, and API route
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
@@ -20,8 +20,8 @@ async function proxyRequest(request: Request, path: string) {
|
||||
if (!['GET', 'HEAD'].includes(request.method)) {
|
||||
const contentType = request.headers.get('content-type') || '';
|
||||
if (contentType.includes('multipart/form-data')) {
|
||||
body = request.body;
|
||||
fetchOptions.duplex = 'half';
|
||||
body = request.body as BodyInit;
|
||||
(fetchOptions as Record<string, unknown>).duplex = 'half';
|
||||
} else {
|
||||
body = await request.text();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user