Skip to content

Commit 3a42a1c

Browse files
committed
what's up with NODE_ENV?
1 parent 89ff228 commit 3a42a1c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/run/handlers/request-context.cts

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ import { LogLevel, systemLogger } from '@netlify/functions/internal'
44

55
import type { NetlifyCachedRouteValue } from '../../shared/cache-types.cjs'
66

7+
// hacks?
8+
process.env.NODE_ENV = 'production'
9+
710
type SystemLogger = typeof systemLogger
811

912
export type RequestContext = {

0 commit comments

Comments
 (0)