Wildcard for H2O_WAVE_ALLOWED_ORIGINS #2354
Unanswered
maxjeblick
asked this question in
Q&A
Replies: 1 comment 2 replies
|
Hi @maxjeblick, I am currently on parental leave so sorry for taking so long. I think we can support |
2 replies
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.
Hi!
Is it possible to set
H2O_WAVE_ALLOWED_ORIGINSto match an arbitrary url?Background:
I'm using LLM Studio with port forwarding on a cloud instance. The dynamically generated link to access localhost:10101 varies for each run. Currently, I need to
H2O_WAVE_ALLOWED_ORIGINS="https://..."(note that the link needs to be without / at the end, this took me a while to figure out. Maybe trailing / can be removed automatically?)I'm looking for a solution that would allow me to write a dockerfile that automatically starts llm studio, so that I can directly open the link.
Sidenote:
Jupyter uses
--NotebookApp.allow_origin='*'see here. I tried*, but apparently this is not working within wave.Thanks,
Max
All reactions