mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Fix source directory for setup template
This commit is contained in:
parent
a702b62553
commit
04422250eb
@ -84,7 +84,7 @@ public sealed class SetupServer : IDisposable
|
|||||||
/// <returns>A Task.</returns>
|
/// <returns>A Task.</returns>
|
||||||
public async Task RunAsync()
|
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()
|
_startupUiRenderer = (await ParserOptionsBuilder.New()
|
||||||
.WithTemplate(fileTemplate)
|
.WithTemplate(fileTemplate)
|
||||||
.WithFormatter(
|
.WithFormatter(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user