diff options
| author | Joshua M. Boniface <joshua@boniface.me> | 2025-06-06 17:18:46 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-06 17:18:46 -0400 |
| commit | 6d287d56278bfc96c77a46adbfcad81095074930 (patch) | |
| tree | fcc6fedec9da3a77ca2fa29d78933af3cb4baae7 | |
| parent | 4f3b49472a783bd7aa30a39b67e5276fef3bf54d (diff) | |
| parent | 04422250ebe13a96629a2f2d5c51c846daf0b6ca (diff) | |
Merge pull request #14228 from JPVenson/bugfix/StartupLookup
Fix source directory for setup template
| -rw-r--r-- | Jellyfin.Server/ServerSetupApp/SetupServer.cs | 2 |
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( |
