Serving files from web server #1545
Unanswered
debjanipaul
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Paths need to be relative to Wave server binary location. SolutionThe following conf makes # app.toml
[[Env]]
Name = "H2O_WAVE_PUBLIC_DIR"
Value = "/assets/@../../app/static/" Note: The ExplanationThe Wave server is located at A good candidate for docs update cc @mtanco. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was able to follow the tutorial https://wave.h2o.ai/docs/files#serving-files-directly-from-the-wave-server and serve a file and access it from from my localhost. I want to know how do I do the same from the H2O app store. Do I have to configure the toml file and what parameters should I use for 'waved -public-dir /datasets/@/home/zaphod/data -public-dir /public/models/@/home/zaphod/models' in the toml file to replicate the same behavior?
Beta Was this translation helpful? Give feedback.
All reactions