diff options
| author | JP Dillingham <jp@dillingham.me> | 2022-06-02 10:33:35 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-02 10:33:35 -0500 |
| commit | e044a75f285b1b1bfb19631ea2eef5509714a703 (patch) | |
| tree | a9bdec768dbd36d831fb655aeefd5754e96d8e87 /src/slskd/Program.cs | |
| parent | adf5e7800452e861903b00faa5729c92187ef3ce (diff) | |
| parent | 908972ae3655973cb2d1536e12b7c2dd42437062 (diff) | |
| download | slskd-e044a75f285b1b1bfb19631ea2eef5509714a703.tar.gz | |
Merge branch 'master' into dependabot/npm_and_yarn/src/web/eventsource-1.1.1
Diffstat (limited to 'src/slskd/Program.cs')
| -rw-r--r-- | src/slskd/Program.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/slskd/Program.cs b/src/slskd/Program.cs index 40e6e72d..df1fb55c 100644 --- a/src/slskd/Program.cs +++ b/src/slskd/Program.cs @@ -453,7 +453,7 @@ namespace slskd services.AddSingleton<IConversationTracker, ConversationTracker>(); services.AddSingleton<IRoomTracker, RoomTracker>(_ => new RoomTracker(messageLimit: 250)); - services.AddSingleton<ISharedFileCache, SharedFileCache>(); + services.AddSingleton<IShareService, ShareService>(); services.AddSingleton<ISearchService, SearchService>(); services.AddSingleton<IUserService, UserService>(); @@ -682,7 +682,7 @@ namespace slskd } // if we made it this far, the caller is either looking for a route that was synthesized with a SPA router, or is genuinely confused. - // if the request is for a directory, modify the request to redirect it to the index, otherwise leave it alone and let it 404 in the next + // if the request is for a directory, modify the request to redirect it to the index, otherwise leave it alone and let it 404 in the next // middleware app.Use(async (context, next) => { |
