Update local-backend.mdx default port URL string (#96)

Update documentation to properly reflect the code
This commit is contained in:
robigan 2022-11-28 19:48:07 +01:00 committed by GitHub
parent d019fd915f
commit 6849df4a45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,7 +46,7 @@ local_backend: true,
| Name | Type | Default | Description |
| ------------- | ------------- | ------------------------------ | ---------------------------------------------------------------------------------------------------------- |
| url | string | `http://localhost:8080/api/v1` | URL for proxy server |
| url | string | `http://localhost:8081/api/v1` | URL for proxy server |
| allowed_hosts | list of hosts | `['localhost', '127.0.0.1']` | Whitelist of allowed hosts when accessing the local site from a host other than 'localhost' or '127.0.0.1' |
1. Create a `.env` file in the project's root folder and define the PORT you'd like the proxy server to use.