hosting the Content Preview SDK
The documentation at https://developer.box.com/docs/box-content-preview says
> You can self-host the Preview UI Element or reference the versions hosted on the Box CDN.
but when I tried to use a copy I had saved locally, it failed on `findScriptLocation`. Apparently it depends on its name being hard-coded? And in the comment where it calls findScriptLocation, it refers to using that as a base for "all preview assets."
Does that mean there are other assets I'd have to host as well, in addition to the two preview.js and css files?
Using our hosts would avoid adding exceptions to our security policy.
-
Hey ,
Thanks for pointing that out! Could I please have you raise a corresponding issue on the Github issues page?
https://github.com/box/box-content-preview/issues
The team in charge of that UI element will be able to help you out directly there! If you link back here after, that would help too, for anyone that finds this forum post!
Thanks,
Jason
-
okay, cross-posted to https://github.com/box/box-content-preview/issues/595
サインインしてコメントを残してください。
コメント
2件のコメント