Skip to content

HTTP serve a directory with dynamic runtime path #536

Answered by jourdain
PaulHax asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by PaulHax
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants