aboutsummaryrefslogtreecommitdiff
path: root/Timeline/Configs
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-02-21 11:59:58 +0800
committercrupest <crupest@outlook.com>2020-02-21 11:59:58 +0800
commit3fa9899e17df4b1012e8b645915ac15022b84f9b (patch)
treea143ff8698660608d188428957a1ad56d620cca6 /Timeline/Configs
parent1fe7642e88d373d8ed00a434cd7c73af422c261a (diff)
downloadtimeline-3fa9899e17df4b1012e8b645915ac15022b84f9b.tar.gz
timeline-3fa9899e17df4b1012e8b645915ac15022b84f9b.tar.bz2
timeline-3fa9899e17df4b1012e8b645915ac15022b84f9b.zip
Migrate to use sqlite.
Diffstat (limited to 'Timeline/Configs')
-rw-r--r--Timeline/Configs/DatabaseConfig.cs11
-rw-r--r--Timeline/Configs/JwtConfiguration.cs (renamed from Timeline/Configs/JwtConfig.cs)4
2 files changed, 2 insertions, 13 deletions
diff --git a/Timeline/Configs/DatabaseConfig.cs b/Timeline/Configs/DatabaseConfig.cs
deleted file mode 100644
index e1231bcd..00000000
--- a/Timeline/Configs/DatabaseConfig.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-namespace Timeline.Configs
-{
- public class DatabaseConfig
- {
- public bool UseDevelopment { get; set; } = false;
-
- public string ConnectionString { get; set; } = default!;
-
- public string DevelopmentConnectionString { get; set; } = default!;
- }
-}
diff --git a/Timeline/Configs/JwtConfig.cs b/Timeline/Configs/JwtConfiguration.cs
index 8a17825e..fc27f4ee 100644
--- a/Timeline/Configs/JwtConfig.cs
+++ b/Timeline/Configs/JwtConfiguration.cs
@@ -1,6 +1,6 @@
-namespace Timeline.Configs
+namespace Timeline.Configs
{
- public class JwtConfig
+ public class JwtConfiguration
{
public string Issuer { get; set; } = default!;
public string Audience { get; set; } = default!;