Skip to content

Commit

Permalink
fix replacement of ORIGIN_ENV in output file (sveltejs#3424)
Browse files Browse the repository at this point in the history
  • Loading branch information
Conduitry committed Jan 20, 2022
1 parent 8a8e805 commit adbd49c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/adapter-node/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export default function ({
PATH_ENV: JSON.stringify(path_env),
HOST_ENV: JSON.stringify(host_env),
PORT_ENV: JSON.stringify(port_env),
ORIGIN: origin_env ? `process.env[${JSON.stringify(origin_env)}]` : 'undefined',
ORIGIN_ENV: origin_env ? `process.env[${JSON.stringify(origin_env)}]` : 'undefined',
PROTOCOL_HEADER: JSON.stringify(protocol_header_env),
HOST_HEADER: JSON.stringify(host_header_env)
}
Expand Down

0 comments on commit adbd49c

Please sign in to comment.