From 29bd71cd93b03248254f341aff9252374abc74ec Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 7 Aug 2019 17:38:56 +0800 Subject: Add script to convert encoding and eof. And of course run it. --- Timeline/Configs/DatabaseConfig.cs | 14 +++++++------- Timeline/Configs/JwtConfig.cs | 30 +++++++++++++++--------------- 2 files changed, 22 insertions(+), 22 deletions(-) (limited to 'Timeline/Configs') diff --git a/Timeline/Configs/DatabaseConfig.cs b/Timeline/Configs/DatabaseConfig.cs index 05dc630e..e24ecdfb 100644 --- a/Timeline/Configs/DatabaseConfig.cs +++ b/Timeline/Configs/DatabaseConfig.cs @@ -1,7 +1,7 @@ -namespace Timeline.Configs -{ - public class DatabaseConfig - { - public string ConnectionString { get; set; } - } -} +namespace Timeline.Configs +{ + public class DatabaseConfig + { + public string ConnectionString { get; set; } + } +} diff --git a/Timeline/Configs/JwtConfig.cs b/Timeline/Configs/JwtConfig.cs index 4d5ef97f..8c61d7bc 100644 --- a/Timeline/Configs/JwtConfig.cs +++ b/Timeline/Configs/JwtConfig.cs @@ -1,15 +1,15 @@ -namespace Timeline.Configs -{ - public class JwtConfig - { - public string Issuer { get; set; } - public string Audience { get; set; } - public string SigningKey { get; set; } - - /// - /// Set the default value of expire offset of jwt token. - /// Unit is second. Default is 3600 * 24 seconds, aka 1 day. - /// - public long DefaultExpireOffset { get; set; } = 3600 * 24; - } -} +namespace Timeline.Configs +{ + public class JwtConfig + { + public string Issuer { get; set; } + public string Audience { get; set; } + public string SigningKey { get; set; } + + /// + /// Set the default value of expire offset of jwt token. + /// Unit is second. Default is 3600 * 24 seconds, aka 1 day. + /// + public long DefaultExpireOffset { get; set; } = 3600 * 24; + } +} -- cgit v1.2.3