diff --git a/docs/12 - OpenAI API.md b/docs/12 - OpenAI API.md index d36bb77c..09afc2a9 100644 --- a/docs/12 - OpenAI API.md +++ b/docs/12 - OpenAI API.md @@ -14,7 +14,7 @@ Add `--extensions openai` to your command-line flags. * To create a public Cloudflare URL, also add the `--public-api` flag. * To listen on your local network, also add the `--listen` flag. -* To change the port, which is 5000 by default, use `--port 1234` (change 1234 to your desired port number). +* To change the port, which is 5000 by default, use `--api-port 1234` (change 1234 to your desired port number). * To use SSL, add `--ssl-keyfile key.pem --ssl-certfile cert.pem`. Note that it doesn't work with `--public-api`. #### Environment variables