Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Signed urls #5

Closed
tim-peterson opened this issue Apr 10, 2014 · 1 comment
Closed

Signed urls #5

tim-peterson opened this issue Apr 10, 2014 · 1 comment

Comments

@tim-peterson
Copy link

How do we do signed urls with the url parameter?

e.g.,

url : "https://s3.amazonaws.com/my-bucket/BoxDocs/"

I had talked to Sean Rose about this about a year ago. If this doesn't exist, can a param be added to Crocodoc.createViewer, e.g., signature: "?token=asdf", to append the signature to all the urls in my "BoxDocs" directory?

@lakenen
Copy link
Contributor

lakenen commented Apr 11, 2014

You can use the queryParams config option. See the config docs and look for queryParams. This applies the specified query string parameters to all requested assets.

@lakenen lakenen closed this as completed Apr 11, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants