-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
issue #2: fix information exposure through an exception
- Loading branch information
Showing
4 changed files
with
43 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,30 @@ | ||
# FINESSE_BACKEND_AZURE_SEARCH_ENDPOINT: | ||
# Endpoint URL of Azure Cognitive Search service. Format: | ||
# https://[service-name].search.windows.net | ||
FINESSE_BACKEND_AZURE_SEARCH_ENDPOINT=<Azure-Search-Service-Endpoint> | ||
|
||
# FINESSE_BACKEND_AZURE_SEARCH_API_KEY: | ||
# API key for Azure Cognitive Search. Used for operations such as | ||
# querying the search index. | ||
FINESSE_BACKEND_AZURE_SEARCH_API_KEY=<Azure-Search-API-Key> | ||
|
||
# FINESSE_BACKEND_AZURE_SEARCH_INDEX_NAME: | ||
# Name of the search index in Azure Cognitive Search. Contains documents | ||
# for search operations. | ||
FINESSE_BACKEND_AZURE_SEARCH_INDEX_NAME=<Search-Index-Name> | ||
|
||
# FINESSE_BACKEND_DEBUG_MODE: | ||
# Boolean flag to enable or disable debug mode for the application. | ||
# Defaults to False when not set. | ||
# Defaults to False when not set. Optional. | ||
# FINESSE_BACKEND_DEBUG_MODE=<True/False> | ||
|
||
# FINESSE_BACKEND_GITHUB_STATIC_FILE_URL: | ||
# URL for static file hosted on GitHub. | ||
FINESSE_BACKEND_GITHUB_STATIC_FILE_URL=https://api.github.com/repos/ai-cfia/finesse-data/contents | ||
|
||
# Message for empty search query errors. Optional. | ||
# FINESSE_BACKEND_ERROR_EMPTY_QUERY="Search query cannot be empty" | ||
|
||
# Message for Azure search failures. Optional. | ||
# FINESSE_BACKEND_ERROR_AZURE_FAILED="Azure index search failed." | ||
|
||
# Message for Finesse data search failures. Optional. | ||
# FINESSE_BACKEND_ERROR_FINESSE_DATA_FAILED="finesse-data static search failed" | ||
|
||
# Message for unexpected errors. Optional. | ||
# FINESSE_BACKEND_ERROR_UNEXPECTED="Unexpected error." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters