chatbot icon indicating copy to clipboard operation
chatbot copied to clipboard

(EAI-203): Refactor serve static logic + add flexible app config

Open mongodben opened this issue 7 months ago • 0 comments

Jira: https://jira.mongodb.org/browse/EAI-203

Changes

  • Refactor mongodb-chatbot-server AppConfig to accept additionalServerLogic, where you can add middleware, routes, etc.
  • Add additionalServerLogic to our implementation to serve static site in non-production envs.
  • Remove non-functional AppConfig.serveStaticSite logic.
    • It only worked in our env building locally, not in the published package.

Notes

mongodben avatar Jul 24 '24 21:07 mongodben