diff options
author | crupest <crupest@outlook.com> | 2020-05-31 15:35:25 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-05-31 15:35:25 +0800 |
commit | 15c533eb324526776f4a8a9d82b150dbfd46d7e6 (patch) | |
tree | a80b0b565d55e60db1468a45218d5b8f4012c871 /Timeline/Services | |
parent | ce13fcc16987cb9c25b07f94388093b6e9fd2290 (diff) | |
download | timeline-15c533eb324526776f4a8a9d82b150dbfd46d7e6.tar.gz timeline-15c533eb324526776f4a8a9d82b150dbfd46d7e6.tar.bz2 timeline-15c533eb324526776f4a8a9d82b150dbfd46d7e6.zip |
Migrate to docker.
Diffstat (limited to 'Timeline/Services')
-rw-r--r-- | Timeline/Services/PathProvider.cs | 2 |
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()
|