aboutsummaryrefslogtreecommitdiff
path: root/Timeline/Program.cs
diff options
context:
space:
mode:
authorunknown <crupest@outlook.com>2019-08-07 17:38:56 +0800
committerunknown <crupest@outlook.com>2019-08-07 17:38:56 +0800
commite283a3e745bad05a55c572646d7b20fbaaeb522d (patch)
treedf5d1325c3b73b17f4f86b71097775e9ce3fa122 /Timeline/Program.cs
parent5f5458518df0475fa36af754cae52eb31eb92fa3 (diff)
downloadtimeline-e283a3e745bad05a55c572646d7b20fbaaeb522d.tar.gz
timeline-e283a3e745bad05a55c572646d7b20fbaaeb522d.tar.bz2
timeline-e283a3e745bad05a55c572646d7b20fbaaeb522d.zip
Add script to convert encoding and eof. And of course run it.
Diffstat (limited to 'Timeline/Program.cs')
-rw-r--r--Timeline/Program.cs50
1 files changed, 25 insertions, 25 deletions
diff --git a/Timeline/Program.cs b/Timeline/Program.cs
index 480f5e9e..f343de44 100644
--- a/Timeline/Program.cs
+++ b/Timeline/Program.cs
@@ -1,25 +1,25 @@
-using Microsoft.AspNetCore;
-using Microsoft.AspNetCore.Hosting;
-using Microsoft.Extensions.Configuration;
-using Microsoft.Extensions.FileProviders;
-
-namespace Timeline
-{
- public class Program
- {
- public static void Main(string[] args)
- {
- CreateWebHostBuilder(args)
- .ConfigureAppConfiguration((context, config) =>
- {
- if (context.HostingEnvironment.IsProduction())
- config.AddJsonFile(new PhysicalFileProvider("/etc/webapp/timeline/"), "config.json", true, true);
- })
- .Build().Run();
- }
-
- public static IWebHostBuilder CreateWebHostBuilder(string[] args) =>
- WebHost.CreateDefaultBuilder(args)
- .UseStartup<Startup>();
- }
-}
+using Microsoft.AspNetCore;
+using Microsoft.AspNetCore.Hosting;
+using Microsoft.Extensions.Configuration;
+using Microsoft.Extensions.FileProviders;
+
+namespace Timeline
+{
+ public class Program
+ {
+ public static void Main(string[] args)
+ {
+ CreateWebHostBuilder(args)
+ .ConfigureAppConfiguration((context, config) =>
+ {
+ if (context.HostingEnvironment.IsProduction())
+ config.AddJsonFile(new PhysicalFileProvider("/etc/webapp/timeline/"), "config.json", true, true);
+ })
+ .Build().Run();
+ }
+
+ public static IWebHostBuilder CreateWebHostBuilder(string[] args) =>
+ WebHost.CreateDefaultBuilder(args)
+ .UseStartup<Startup>();
+ }
+}