aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server/ServerSetupApp/SetupServer.cs
diff options
context:
space:
mode:
authorJPVenson <github@jpb.email>2025-06-06 10:59:15 +0000
committerJPVenson <github@jpb.email>2025-06-06 10:59:15 +0000
commit04422250ebe13a96629a2f2d5c51c846daf0b6ca (patch)
tree1927fb1db47a3b723e97bae50af4d2fc83eb15ab /Jellyfin.Server/ServerSetupApp/SetupServer.cs
parenta702b62553487fe1c87f9f754a52b630730f88ad (diff)
Fix source directory for setup template
Diffstat (limited to 'Jellyfin.Server/ServerSetupApp/SetupServer.cs')
-rw-r--r--Jellyfin.Server/ServerSetupApp/SetupServer.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Server/ServerSetupApp/SetupServer.cs b/Jellyfin.Server/ServerSetupApp/SetupServer.cs
index 751cf7f42..d88dbee57 100644
--- a/Jellyfin.Server/ServerSetupApp/SetupServer.cs
+++ b/Jellyfin.Server/ServerSetupApp/SetupServer.cs
@@ -84,7 +84,7 @@ public sealed class SetupServer : IDisposable
/// <returns>A Task.</returns>
public async Task RunAsync()
{
- var fileTemplate = await File.ReadAllTextAsync(Path.Combine("ServerSetupApp", "index.mstemplate.html")).ConfigureAwait(false);
+ var fileTemplate = await File.ReadAllTextAsync(Path.Combine(AppContext.BaseDirectory, "ServerSetupApp", "index.mstemplate.html")).ConfigureAwait(false);
_startupUiRenderer = (await ParserOptionsBuilder.New()
.WithTemplate(fileTemplate)
.WithFormatter(