diff options
| author | JP Dillingham <jp@dillingham.me> | 2022-06-02 08:38:47 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-02 08:38:47 -0500 |
| commit | 2bd24b38f046d9e7b37825db6af2756e43ba0dfc (patch) | |
| tree | fd1f5b246cdc8597e4bc9176fd70bb6067bebfe9 /src/slskd/Program.cs | |
| parent | 1a6075b612dd5067eb4e8376ac9034050ad74477 (diff) | |
| parent | 9e0013c0317adbaa007fce8dbea06928b1d159ef (diff) | |
| download | slskd-2bd24b38f046d9e7b37825db6af2756e43ba0dfc.tar.gz | |
Merge pull request #493 from slskd/shares
Add a 'Shares' tab to the 'System' page, along with a button to rescan shares
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) => { |
