Open siegy22 opened 8 years ago
@MattFenelon can you get your use-case to work with this addition?
@siegy22 A test-case needs to make sure the env variable has an effect. Otherwise we are going to loose this on an update.
Let's wait for feedback if this addresses the need voiced by others.
That's okay for me 👌
This looks great, thanks for looking at it. I won't be able to test it until Monday now.
As you own _viewer.html, rather than change viewer.js, could you modify HOSTED_VIEWER_ORIGINS in a js file loaded after viewer.js?
Hey @MattFenelon I opened another pr ( #19 )
I explored a little "bug" in the code. Gonna fix this tommorow!
What's the latest on this?
Any updates on this? When are you planning to merge this? I would really like to have configurable origins :'(
it's useful when viewing PDF saved in S3 or cloud service
closes #12, closes #16
@andyweiss1982 and @senny have a 👀