You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently it only supports hosting http mirror, it would be great to have https: too.
I'm not familiar with nodejs, I mostly write web site codes. But it seems to me adding https: supports is easy as adding a few config values and code lines to
I was unable to get this work entirely.
First off, at the top of server.js I had to also add an https require require('https'),.
Also I changed the "externalUrl:" in the config file to be https instead of http.
After that, when I manually navigate to my proxy, I get valid files, and I can even download dependencies ,but neither npm nor yarn will actually install packages from it. I did change my registry URL in npm and yarn to the new https URL, and even cleared cache for both locally, but had no luck.
This is a great tool, thanks for the good work!
Currently it only supports hosting
http
mirror, it would be great to havehttps:
too.I'm not familiar with nodejs, I mostly write web site codes. But it seems to me adding
https:
supports is easy as adding a few config values and code lines tonpm_lazy/server.js
Line 67 in 5be8bd1
The text was updated successfully, but these errors were encountered: