Skip to content

Commit

Permalink
Add CORS origins for localhost:5088 in appsettings.json
Browse files Browse the repository at this point in the history
  • Loading branch information
MSFTJim committed Apr 14, 2024
1 parent daeb75d commit 066c435
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions webapi/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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"
},
Expand Down Expand Up @@ -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".
Expand Down

0 comments on commit 066c435

Please sign in to comment.