Skip to content

一键部署失败以及部署成功后gemini不回复的修复 #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 24, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1 @@
node_modules

3 changes: 2 additions & 1 deletion netlify/functions/proxy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ export default async (request: Request, context: Context) => {
body: request.body,
method: request.method,
headers,
duplex: "half"
});

const responseHeaders = {
Expand All @@ -80,4 +81,4 @@ export default async (request: Request, context: Context) => {
headers: responseHeaders,
status: response.status
});
};
};