Skip to content

Commit

Permalink
Use error exit code for proxy env error
Browse files Browse the repository at this point in the history
  • Loading branch information
ai committed Sep 9, 2024
1 parent 0929ff6 commit b50b933
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proxy/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ if (!process.env.PROXY_ORIGIN || !process.env.PORT) {
process.stderr.write(
styleText('red', 'Set PROXY_ORIGIN and PORT environment variables\n')
)
process.exit(0)
process.exit(1)
}

let proxy = createServer(
Expand Down

0 comments on commit b50b933

Please sign in to comment.