lauerfab / MLweb

Machine learning and scientific computing (linear algebra, statistics, optimization) javascript libraries, with an online lab.
http://mlweb.loria.fr
GNU General Public License v2.0
85 stars 22 forks source link

Hosting scripts on HTTPS #7

Open sorig opened 6 years ago

sorig commented 6 years ago

When loading the MLweb scripts from a site that the client has connected to via HTTPS, most browsers won't allow loading the plain HTTP hosted javascript files. See this example:

index

Would it be possible to set up SSL on your server or perhaps find an alternative host that provides this automatically?

sorig commented 6 years ago

It may be worth considering hosting MLWeb on NPM as this would integrate the project into the javascript community, increase the user base, and free you from managing the host environment manually since there are CDNs such as https://unpkg.com that provide hosting for free.

I believe that #6 will make this process straightforward as the modules then become CommonJS compatible.