webodf / ViewerJS

ViewerJS: Document Reader in JavaScript
http://viewerjs.org
1.94k stars 419 forks source link

Allow files to be viewed from amazon s3 or with query string #106

Closed suhoij closed 9 years ago

suhoij commented 9 years ago

I have added clean up code in order to get rid of query string. It will allow user to put the s3 urls.

kossebau commented 9 years ago

Hi @Suhoij, sorry for ignoring your patch so long. ViewerJS 0.5.5 has been released today, and it comes with the commits from https://github.com/kogmbh/WebODF/pull/859 , which should help a lot finding/setting the right content type. It also picks up your suggestion in the fallback to guess the type from the path. So closing this PR as superseded now, thanks for the proposal.