You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to figure out how I can run multiple Reflex apps on the same server using sub-paths (e.g. example.com/app1, example.comm/app2).
I found that rx.Config has a parameter frontend_path which I guess is needed for this. However, I cannot figure out, how to make it work. For a quick test, I use an existing app that works as is. When I add frontend_path="/foo" to the config and start it locally with reflex run, it prints
as I would expect. However, when actually opening that URL, I just get an unformatted "Not Found". So obviously, I'm missing something.
Unfortunately, the documentation doesn't help either. I vaguely remember that in the past there was a list of available config parameters somewhere, probably on https://reflex.dev/docs/api-reference/config/, but it seems to be gone...
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to figure out how I can run multiple Reflex apps on the same server using sub-paths (e.g. example.com/app1, example.comm/app2).
I found that
rx.Config
has a parameterfrontend_path
which I guess is needed for this. However, I cannot figure out, how to make it work. For a quick test, I use an existing app that works as is. When I addfrontend_path="/foo"
to the config and start it locally withreflex run
, it printsas I would expect. However, when actually opening that URL, I just get an unformatted "Not Found". So obviously, I'm missing something.
Unfortunately, the documentation doesn't help either. I vaguely remember that in the past there was a list of available config parameters somewhere, probably on https://reflex.dev/docs/api-reference/config/, but it seems to be gone...
Beta Was this translation helpful? Give feedback.
All reactions