some changes for tests

This commit is contained in:
YvesPa 2024-10-15 18:27:00 +02:00
parent c6beedf675
commit d15b1a2c01
2 changed files with 1 additions and 4 deletions

View file

@ -193,7 +193,7 @@ By default the application runs in the root of your hosted address (i.e. https:/
- (optional) Resharper
1. Open the client folder project in VS Code and run `npm install`.
1. To debug run `ng serve`, to build run `ng build --prod`.
1. To debug run `ng serve`, to build run `ng build -c production`.
1. Open the Visual Studio 2019 project `RdtClient.sln` and `Publish` the `RdtClient.Web` to the given `PublishFolder` target.
1. When debugging, make sure to run `RdtClient.Web.dll` and not `IISExpress`.
1. The result is found in `Publish`.

View file

@ -16,9 +16,6 @@ public static class DownloadHelper
var directory = RemoveInvalidPathChars(torrent.RdName);
// RealDebrid sometimes change TorrentName when it's a single file torrent adding the extension of the single file
directory = Path.ChangeExtension(directory, null);
var uri = new Uri(fileUrl);
var torrentPath = Path.Combine(downloadPath, directory);