From 066c4358b51038f08e58a8c9caaf3b6ea3df5f23 Mon Sep 17 00:00:00 2001 From: Jim Vacca <33520581+MSFTJim@users.noreply.github.com> Date: Sun, 14 Apr 2024 16:22:52 +0000 Subject: [PATCH] Add CORS origins for localhost:5088 in appsettings.json --- webapi/appsettings.json | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/webapi/appsettings.json b/webapi/appsettings.json index 93998b463..d31d41a8e 100644 --- a/webapi/appsettings.json +++ b/webapi/appsettings.json @@ -151,7 +151,9 @@ // CORS "AllowedOrigins": [ "http://localhost:3000", - "https://localhost:3000" + "https://localhost:3000", + "http://localhost:5088", + "https://localhost:5088" ], // // Kernel Memory configuration - https://github.com/microsoft/kernel-memory @@ -181,13 +183,9 @@ "QueueType": "SimpleQueues" }, // Multiple generators can be used, e.g. for data migration, A/B testing, etc. - "EmbeddingGeneratorTypes": [ - "AzureOpenAIEmbedding" - ], + "EmbeddingGeneratorTypes": ["AzureOpenAIEmbedding"], // Vectors can be written to multiple storages, e.g. for data migration, A/B testing, etc. - "MemoryDbTypes": [ - "SimpleVectorDb" - ], + "MemoryDbTypes": ["SimpleVectorDb"], // ImageOcrType is the image OCR configuration: "None", "AzureFormRecognizer" or "Tesseract" "ImageOcrType": "None" }, @@ -350,7 +348,7 @@ // Tesseract configuration for memory pipeline OCR. // - Language is the language supported by the data file. // - FilePath is the path to the data file. - // + // // Note: When using Tesseract OCR Support (In order to upload image file formats such as png, jpg and tiff): // 1. Obtain language data files here: https://github.com/tesseract-ocr/tessdata . // 2. Add these files to your `data` folder or the path specified in the "FilePath" property and set the "Copy to Output Directory" value to "Copy if newer".