Skip to content

Commit dfbf6d3

Browse files
committed
🎉 feat: 1.4.13
1 parent 183640a commit dfbf6d3

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/adapter/utils.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { hasHeaderShorthand, isNotEmpty, StatusMap } from '../utils'
33

44
import type { Context } from '../context'
55
import { isBun } from '../universal/utils'
6+
import { env } from '../universal'
67

78
export const handleFile = (
89
response: File | Blob,
@@ -144,7 +145,7 @@ type CreateHandlerParameter = {
144145
mapCompactResponse(response: unknown, request?: Request): Response
145146
}
146147

147-
const allowRapidStream = process.env.ELYSIA_RAPID_STREAM === 'true'
148+
const allowRapidStream = env.ELYSIA_RAPID_STREAM === 'true'
148149

149150
export const createStreamHandler =
150151
({ mapResponse, mapCompactResponse }: CreateHandlerParameter) =>

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -847,7 +847,7 @@ export default class Elysia<
847847
const context: PreContext = {
848848
redirect,
849849
request: this['~adapter'].isWebStandard
850-
? new Request(`http://e.ly${path}`, {
850+
? new Request(`http://ely.sia${path}`, {
851851
method
852852
})
853853
: (undefined as any as Request),

0 commit comments

Comments
 (0)