Application Hosted in Sub-Directory Fix
Changed to a relative path for download7up.js to address issues with applications being hosted on a server in a sub directory ("http://host.tld/app/").
@brandon-james-dev Is it possible to test this? And does the current code still work?
@brandon-james-dev Is it possible to test this? And does the current code still work?
With .NET 10's release next week, I will work on creating an example project for .NET 10 and also another one for subdirectory hosting. I will wait for the full release of .NET 10 before that.
@brandon-james-dev .NET 10 is released
@StefH The library works with .NET 10 with no adjustments needed. I updated it with an example and one line to enable it in NuGet in the csproj file. However, there's some I think, configuration, issue with delivering the file on my ASP.NET Core hosted app (for the subdirectory). It will host the file without the hash in the file name, and when it tries to download it, it will not get it, because it is hosted as only download7up.js. I was not able to figure that out today. The configuration I put in the example project is not the same as I am using in the project from my workplace app. We are hosting it on IIS rather than ASP.NET Core in this way.