aboutsummaryrefslogtreecommitdiff
path: root/Timeline/Services/PathProvider.cs
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-05-31 15:35:25 +0800
committercrupest <crupest@outlook.com>2020-05-31 15:35:25 +0800
commit635b5ea646ec55c7ae212f79031b69c00ad79763 (patch)
tree6697477582d8d710c3961daad0b22a533edddfb2 /Timeline/Services/PathProvider.cs
parent590522661ba90ac388029c83d248e8277d2325f7 (diff)
downloadtimeline-635b5ea646ec55c7ae212f79031b69c00ad79763.tar.gz
timeline-635b5ea646ec55c7ae212f79031b69c00ad79763.tar.bz2
timeline-635b5ea646ec55c7ae212f79031b69c00ad79763.zip
Migrate to docker.
Diffstat (limited to 'Timeline/Services/PathProvider.cs')
-rw-r--r--Timeline/Services/PathProvider.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Timeline/Services/PathProvider.cs b/Timeline/Services/PathProvider.cs
index 1f6b629a..eefbf41a 100644
--- a/Timeline/Services/PathProvider.cs
+++ b/Timeline/Services/PathProvider.cs
@@ -21,7 +21,7 @@ namespace Timeline.Services
public PathProvider(IConfiguration configuration)
{
_configuration = configuration;
- _workingDirectory = configuration.GetValue<string>("WorkDir");
+ _workingDirectory = configuration.GetValue<string?>("WorkDir") ?? "/timeline";
}
public string GetWorkingDirectory()