Open riedelcastro opened 8 years ago
The problem is that the Play web service cannot directly access anything outside of the "\public" path. Maybe a hint here: https://www.playframework.com/documentation/2.0/Assets
On Tue, Oct 6, 2015 at 4:11 PM, Sebastian Riedel notifications@github.com wrote:
Currently I need to add a link from moro/public to wherever I put figures I include in my notebooks. Ideally I like the figures somewhere close to my notebooks w/o having to add this link (because book users need to set up this link as well).
— Reply to this email directly or view it on GitHub https://github.com/wolfe-pack/moro/issues/89.
This sounds like it's not a configurable option then, but instead hardcoded.
If all notebooks are checked in publicly, you can always add their URL from github.
On Tue, Oct 6, 2015 at 4:48 PM, Sebastian Riedel notifications@github.com wrote:
Or maybe here: http://stackoverflow.com/questions/22146586/play-additional-public-assets-directory
— Reply to this email directly or view it on GitHub https://github.com/wolfe-pack/moro/issues/89#issuecomment-146036267.
I am thinking of just generally allowing access to png files using a specific route which is mapped to the same file location (the docRoot) as the notebooks themselves.
And read the docRoot from the conf file, yeah, that would work.
On Tue, Oct 6, 2015 at 5:08 PM, Sebastian Riedel notifications@github.com wrote:
I am thinking of just generally allowing access to png files using a specific route which is mapped to the same file location (the docRoot) as the notebooks themselves.
— Reply to this email directly or view it on GitHub https://github.com/wolfe-pack/moro/issues/89#issuecomment-146040381.
Currently I need to add a link from moro/public to wherever I put figures I include in my notebooks. Ideally I like the figures somewhere close to my notebooks w/o having to add this link (because book users need to set up this link as well).