Implements persistent audio player with ajax handled navigation

This commit is contained in:
BinaryAlley committed 2024-10-29 13:10:07 +02:00
1 parent 153c23a523
commit 0b84b2b83b
8 files changed
+200 -6

No files matched your search

@@ -35,7 +35,7 @@ public class FileSystemBrowserViewComponent : ViewComponent
{
return View(new
{
Path = RuntimeInformation.IsOSPlatform(OSPlatform.Linux) ? @"/" : @"C:\",
Path = RuntimeInformation.IsOSPlatform(OSPlatform.Linux) ? @"/" : @"C:\Users\",
ServerBasePath = $"{_serverConfigurationModel.BaseAddress}:{_serverConfigurationModel.Port}/api/v{_serverConfigurationModel.ApiVersion}/",
ClientBasePath = "http://localhost:5012/", // TODO: take from appsettings or environment
ViewMode = FileSystemViewMode.List,