Skip to content
This repository was archived by the owner on Sep 24, 2025. It is now read-only.
/ curxy Public archive

Commit a64d2d9

Browse files
committed
chore: comment in English
1 parent d11fb7c commit a64d2d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

proxy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ class ProxyApp {
143143
const origin = new URL(this.ollamaEndpoint).origin;
144144
const url = convertToCustomEndpoint(c.req.url, parseURL(endpoint));
145145
const reqHeaders = this.setCORSHeaders(c.req.raw, origin);
146-
// 设置Origin头, 否则ollama会报错
146+
// Set the Origin header, otherwise ollama will report an error.
147147
reqHeaders.set("Origin", origin);
148148
const req = new Request(url, {
149149
...c.req.raw,

0 commit comments

Comments
 (0)