diff --git a/README.md b/README.md index 402b587..9756351 100644 --- a/README.md +++ b/README.md @@ -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`. diff --git a/server/RdtClient.Service/Helpers/DownloadHelper.cs b/server/RdtClient.Service/Helpers/DownloadHelper.cs index 665c936..29e4b5d 100644 --- a/server/RdtClient.Service/Helpers/DownloadHelper.cs +++ b/server/RdtClient.Service/Helpers/DownloadHelper.cs @@ -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);