Skip to content

Commit 42c7e73

Browse files
fishd72Pfannkuchensacklstein
authored
docs: Updated uvicorn URL in documentation (invoke-ai#9230)
* docs: Updated uvicorn URL In the current documentation links for info on SSL configuration point to 'uvicorn.org', however this URL does not resolve for me. Checking 'uvicorn.dev' shows what appears to be the correct information so I've updated the links accordingly. * fix(config): update uvicorn.org URL to uvicorn.dev in ssl field descriptions The docstring and generated files were updated to uvicorn.dev, but the actual ssl_certfile/ssl_keyfile Field descriptions (the source for the generated schemas) still pointed to uvicorn.org. --------- Co-authored-by: Alexander Eichhorn <alex@eichhorn.dev> Co-authored-by: Lincoln Stein <lincoln.stein@gmail.com>
1 parent 72cee9f commit 42c7e73

4 files changed

Lines changed: 13 additions & 13 deletions

File tree

docs/src/generated/settings.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
{
7474
"category": "WEB",
7575
"default": null,
76-
"description": "SSL certificate file for HTTPS. See https://www.uvicorn.org/settings/#https.",
76+
"description": "SSL certificate file for HTTPS. See https://www.uvicorn.dev/settings/#https.",
7777
"env_var": "INVOKEAI_SSL_CERTFILE",
7878
"literal_values": [],
7979
"name": "ssl_certfile",
@@ -84,7 +84,7 @@
8484
{
8585
"category": "WEB",
8686
"default": null,
87-
"description": "SSL key file for HTTPS. See https://www.uvicorn.org/settings/#https.",
87+
"description": "SSL key file for HTTPS. See https://www.uvicorn.dev/settings/#https.",
8888
"env_var": "INVOKEAI_SSL_KEYFILE",
8989
"literal_values": [],
9090
"name": "ssl_keyfile",

invokeai/app/services/config/config_default.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ class InvokeAIAppConfig(BaseSettings):
7171
allow_credentials: Allow CORS credentials.
7272
allow_methods: Methods allowed for CORS.
7373
allow_headers: Headers allowed for CORS.
74-
ssl_certfile: SSL certificate file for HTTPS. See https://www.uvicorn.org/settings/#https.
75-
ssl_keyfile: SSL key file for HTTPS. See https://www.uvicorn.org/settings/#https.
74+
ssl_certfile: SSL certificate file for HTTPS. See https://www.uvicorn.dev/settings/#https.
75+
ssl_keyfile: SSL key file for HTTPS. See https://www.uvicorn.dev/settings/#https.
7676
log_tokenization: Enable logging of parsed prompt tokens.
7777
patchmatch: Enable patchmatch inpaint code.
7878
models_dir: Path to the models directory.
@@ -153,8 +153,8 @@ class InvokeAIAppConfig(BaseSettings):
153153
allow_credentials: bool = Field(default=True, description="Allow CORS credentials.")
154154
allow_methods: list[str] = Field(default=["*"], description="Methods allowed for CORS.")
155155
allow_headers: list[str] = Field(default=["*"], description="Headers allowed for CORS.")
156-
ssl_certfile: Optional[Path] = Field(default=None, description="SSL certificate file for HTTPS. See https://www.uvicorn.org/settings/#https.")
157-
ssl_keyfile: Optional[Path] = Field(default=None, description="SSL key file for HTTPS. See https://www.uvicorn.org/settings/#https.")
156+
ssl_certfile: Optional[Path] = Field(default=None, description="SSL certificate file for HTTPS. See https://www.uvicorn.dev/settings/#https.")
157+
ssl_keyfile: Optional[Path] = Field(default=None, description="SSL key file for HTTPS. See https://www.uvicorn.dev/settings/#https.")
158158

159159
# MISC FEATURES
160160
log_tokenization: bool = Field(default=False, description="Enable logging of parsed prompt tokens.")

0 commit comments

Comments
 (0)