file:// instead of http://
hovancik opened this issue · comments
Jan Hovancik commented
a lot of JS scripts use something like: script.src = '//cdn.syndication.twimg.com/widgets/timelines/'
which becomes 'file://cdn.syndication.twimg.com/widgets/timelines/'
would there be a way to fix this, except hardcoding it to http or https?
--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/10634688-file-instead-of-http?utm_campaign=plugin&utm_content=tracker%2F899498&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F899498&utm_medium=issues&utm_source=github).柳东原 · Dongyuan Liu commented
Good point, but there would not be an easy fix. We will have to bundle a micro web server and serve the static files.