mrsimpson/Rocket.Chat

Provide Smarti-UI entirely from Rocket.Chat server

Closed this issue · 0 comments

Currently, the rocketchat dbsai-addon for smarti is being loaded in the frontend once the setting is loaded.
This means that the client (browser) issues a request towards the smarti server directly. Given the rocket chat server is located in another network than the smarti server (e. g. internet vs. intranet), it might be possible that smarti cannot be loaded.

Proposed solution
Load the smarti-code lazily server-side to the rocketchat server. from there, provide it to the client.