@faapi/faapi 6.12.0 → 6.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/index.js +3 -1
- package/dist/cli/index.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/{routeTypes-m9wZHWyo.d.ts → routeTypes-CVPV8Yd3.d.ts} +3 -1
- package/dist/testing.d.ts +1 -1
- package/dist/testing.js +3 -1
- package/dist/testing.js.map +1 -1
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -6252,7 +6252,9 @@ function createSseWriter() {
|
|
|
6252
6252
|
headers: {
|
|
6253
6253
|
"Content-Type": "text/event-stream",
|
|
6254
6254
|
"Cache-Control": "no-cache",
|
|
6255
|
-
Connection: "keep-alive"
|
|
6255
|
+
Connection: "keep-alive",
|
|
6256
|
+
// nginx 认到该头后按响应跳过 proxy_buffering;其他反代/客户端忽略,无副作用
|
|
6257
|
+
"X-Accel-Buffering": "no"
|
|
6256
6258
|
}
|
|
6257
6259
|
});
|
|
6258
6260
|
const writer = {
|