aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Program.cs
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2022-06-02 08:38:47 -0500
committerGitHub <noreply@github.com>2022-06-02 08:38:47 -0500
commit2bd24b38f046d9e7b37825db6af2756e43ba0dfc (patch)
treefd1f5b246cdc8597e4bc9176fd70bb6067bebfe9 /src/slskd/Program.cs
parent1a6075b612dd5067eb4e8376ac9034050ad74477 (diff)
parent9e0013c0317adbaa007fce8dbea06928b1d159ef (diff)
downloadslskd-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.cs4
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) =>
{