-
For the NRTK-Explorer trame app, I'd like to HTTP serve a directory of images that is changed at runtime. The Wondering how to HTTP serve another directory behond the initial? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
enable modules needs to happen "before the server start". Another option is to create a dynamic endpoint that can be registered at the beginning but where its behavior can be updated at runtime. But if we go that route, we will run into an issue if we deploy such app in a docker context as at that point each trame server are just handling the WebSocket and none of the HTTP static content delivery. |
Beta Was this translation helpful? Give feedback.
enable modules needs to happen "before the server start".
Another option is to create a dynamic endpoint that can be registered at the beginning but where its behavior can be updated at runtime.
But if we go that route, we will run into an issue if we deploy such app in a docker context as at that point each trame server are just handling the WebSocket and none of the HTTP static content delivery.