sintaxi / surge

CLI for the surge.sh CDN
https://surge.sh
2.86k stars 136 forks source link

surge.sh not hosting pdf files #302

Closed walchko closed 5 years ago

walchko commented 6 years ago

Maybe I have missed it in the docs, but my website's pdf files are not being hosted. How do I fixe that? Or is it a bug?

konaraddi commented 6 years ago

See this: https://github.com/sintaxi/surge/issues/257

hav4ik commented 5 years ago

The easy hack is to use pdf2htmlEX (which is also available as an apt package in Ubuntu 18.04) to convert your PDF file into HTML format. You can see my results here.

@sintaxi From #257, it seems like people abusing PDF was a thing, but the outputs of pdf2htmlEX seems to be easily detectable.

sintaxi commented 5 years ago

@walchko run surge card to add a payment method and pdf support will automatically be added to your projects. No charges apply.

betterDevMaster commented 1 year ago

https://xuxizhen.surge.sh/ @sintaxi Could you please whitelist (https://xuxizhen.surge.sh/)? I updated my CV as a pdf. Thanks a lot!