Skip to content

Commit

Permalink
fix: update announcement documentation (#256)(#268)
Browse files Browse the repository at this point in the history
Refs: #256
  • Loading branch information
mikitabut authored Nov 30, 2023
1 parent b403788 commit c94e867
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .env.development
Original file line number Diff line number Diff line change
Expand Up @@ -92,4 +92,4 @@ REQUEST_API_KEY_CODE=""
CODE_GENERATION_WARNING="Full responsibility for code correctness, security and licensing lies solely with the user, not with DIAL platform or LLM vendor."

## Text for announcement banner
ANNOUNCEMENT="Welcome to AI Dial Chat application!"
ANNOUNCEMENT_HTML_MESSAGE="Welcome to AI Dial Chat application!"
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ This project leverages environment variables for configuration.
| `ISSUE_URL` | No | Issue URL | Any string | |
| `THEMES_CONFIG_HOST` | No | The host URL for custom themes configuration. More info in [Themes configuration documentation](docs/THEME-CUSTOMIZATION.md) | Any string | |
| `FOOTER_HTML_MESSAGE` | No | Footer HTML Message | Any string | |
| `ANNOUNCEMENT_HTML_MESSAGE` | No | Announcement banner HTML Message | Any string | |
| `AZURE_FUNCTIONS_API_HOST` | No | Azure Functions API Host | Any string | |
| `REPORT_ISSUE_CODE` | No | Report Issue Code used when sending report issue info to Azure Functions API Host | Any string | |
| `REQUEST_API_KEY_CODE` | No | Request API Key Code used when sending request api key info to Azure Functions API Host | Any string | |
Expand Down
2 changes: 1 addition & 1 deletion src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ export const getServerSideProps: GetServerSideProps = async ({
),
isAuthDisabled: process.env.AUTH_DISABLED === 'true',
storageType: process.env.STORAGE_TYPE || 'browserStorage',
announcement: process.env.ANNOUNCEMENT || '',
announcement: process.env.ANNOUNCEMENT_HTML_MESSAGE || '',
};

return {
Expand Down

0 comments on commit c94e867

Please sign in to comment.