Fixes configuration console output
This commit is contained in:
parent
feedbeb262
commit
9a1b50aef1
2 changed files with 12 additions and 6 deletions
|
|
@ -31,7 +31,8 @@ namespace Server
|
|||
|
||||
private static Configuration ReadConfiguration()
|
||||
{
|
||||
Console.Write($"Reading configuration from {FilePath}...");
|
||||
string relPath = new Uri($"{Core.BaseDirectory}/").MakeRelativeUri(new Uri(FilePath)).ToString();
|
||||
Console.Write($"Reading configuration from {relPath}...");
|
||||
Configuration config;
|
||||
|
||||
if (File.Exists(FilePath))
|
||||
|
|
@ -44,7 +45,7 @@ namespace Server
|
|||
}
|
||||
else
|
||||
{
|
||||
Console.WriteLine("not found.");
|
||||
Console.WriteLine("not found");
|
||||
config = new Configuration();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue