Daniel15 / simple-nuget-server

A very simple PHP NuGet server
MIT License
116 stars 43 forks source link

Allow the server to run on any port. #26

Closed Jerther closed 5 years ago

Jerther commented 6 years ago

If the server runs on anything but default HTTP and HTTPS ports, it works fine for browsing packages and pushing new ones, but nuget fails to download any.

Just include the server port in baseURL and then it works fine.

Daniel15 commented 6 years ago

I think it'd be better to omit the port number when it's the default port... What do you think?

Jerther commented 6 years ago

Specifying the port when it's the default one is unnessary, but adding code to remove the port when it's the default one is also unnessary afaik. I prefer simpler code ;)