docs: getting started - running locally (#2245)
Removes description of changing the port number with the deprecated `port` property and updates with `server.port`. 
This commit is contained in:
@@ -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:
|
call in `main.ts` to include an explicit port number:
|
||||||
|
|
||||||
```js main.ts
|
```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:
|
You can also change the port by setting the `PORT` environment variable:
|
||||||
|
|||||||
Reference in New Issue
Block a user