PUBLIC_URL doesnt seem to work for Open On Demand Interactive app #8865
Unanswered
connorourke
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to get LibreChat up and running as an interactive app in Open On Demand.
It looks as if it allows the setting of a base url with the PUBLIC_URL env variable, but when i try to open the app once launched i get a load of errors:
and:
When i have a look in the .js files in the developer tools they all seem to be the index.html file, likewise the manifest.webmanifest file.
I use PUBLIC_URL to set a prefix and it looks to work as in e.g. the client/dist/index.html file i see things like:
where
/node/ruby052.cluster.local/26159/
is the prefix I have provided.I am using apptainer and the start-up script looks something like:
Can anyone see why this wouldnt work?
Also is there a way to inject the PUBLIC_URL without having to rebuild the frontend - the prefix and port are only set when the job is launched, and will vary, so having to wait for the build to happen everytime is far from ideal.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions