microsoft / azurechat

🤖 💼 Azure Chat Solution Accelerator powered by Azure Open AI Service
MIT License
1.15k stars 958 forks source link

Refactor file loading in change-log page #257

Closed thivy closed 7 months ago

thivy commented 7 months ago

This pull request to the src/app/change-log/page.tsx file improves the Home function by loading the content of the update.md file from a remote server in production mode and from the local file system in development mode. It also adds a new loadContent function to handle the loading of the file content, removes the fs module, and updates the Markdown component to use the content variable instead of the file variable.

Main interface changes: