From e059a46ea5f8d080bdb32f0dd4a02d9de465affd Mon Sep 17 00:00:00 2001 From: Greg Zometa <138949169+greg-zometa@users.noreply.github.com> Date: Fri, 12 Jan 2024 23:43:33 -0800 Subject: [PATCH] docs: getting started - running locally (#2245) Removes description of changing the port number with the deprecated `port` property and updates with `server.port`. ![Screenshot 2024-01-12 190452](https://github.com/denoland/fresh/assets/138949169/84ac96b2-6c55-438d-8be1-22184f309a22) --- docs/latest/getting-started/running-locally.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/latest/getting-started/running-locally.md b/docs/latest/getting-started/running-locally.md index 7c76c6a1..c0e86429 100644 --- a/docs/latest/getting-started/running-locally.md +++ b/docs/latest/getting-started/running-locally.md @@ -39,7 +39,7 @@ If you want to change the port or host, modify the config bag of the `start()` call in `main.ts` to include an explicit port number: ```js main.ts -await start(manifest, { port: 3000 }); +await start(manifest, { server: { port: 3000 } }); ``` You can also change the port by setting the `PORT` environment variable: