From 20ca9e1fc1a1e3cd5395c678bb31a51703928e09 Mon Sep 17 00:00:00 2001 From: Eugene Date: Wed, 17 May 2023 19:45:51 -0400 Subject: [PATCH] config: move 'CORS' settings to 'Web Server' in the docstring to match the actual category --- invokeai/app/services/config.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/invokeai/app/services/config.py b/invokeai/app/services/config.py index 9330b857d3..e9f94a5fb9 100644 --- a/invokeai/app/services/config.py +++ b/invokeai/app/services/config.py @@ -36,16 +36,15 @@ InvokeAI: patchmatch: true internet_available: true log_tokenization: false - Cross-Origin Resource Sharing: + Web Server: + host: 127.0.0.1 + port: 8081 allow_origins: [] allow_credentials: true allow_methods: - '*' allow_headers: - '*' - Web Server: - host: 127.0.0.1 - port: 8081 The default name of the configuration file is `invokeai.yaml`, located in INVOKEAI_ROOT. You can replace supersede this by providing any