From 1a23d95844f4eed3c02da7f7f4bd55b250c960a1 Mon Sep 17 00:00:00 2001 From: Jarred Sumner Date: Sun, 5 May 2024 20:51:06 -0700 Subject: [PATCH] Update http.md --- docs/api/http.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/api/http.md b/docs/api/http.md index 259734361c..d8079d2be0 100644 --- a/docs/api/http.md +++ b/docs/api/http.md @@ -70,25 +70,25 @@ console.log(server.url); // http://localhost:3000 Bun supports several options and environment variables to configure the default port. The default port is used when the `port` option is not set. -1. `--port` CLI flag +- `--port` CLI flag ```sh $ bun --port=4002 server.ts ``` -2. `BUN_PORT` environment variable +- `BUN_PORT` environment variable ```sh $ BUN_PORT=4002 bun server.ts ``` -3. `PORT` environment variable +- `PORT` environment variable ```sh $ PORT=4002 bun server.ts ``` -4. `NODE_PORT` environment variable +- `NODE_PORT` environment variable ```sh $ NODE_PORT=4002 bun server.ts