Skip to content

Commit

Permalink
Update license and use top-level statements (#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
sungam3r authored Feb 27, 2023
1 parent 835030e commit e7a2077
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2020 Ivan Maximov
Copyright (c) 2020-2023 Ivan Maximov

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
13 changes: 5 additions & 8 deletions src/Example/Program.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
namespace Example;
using Example;

public class Program
{
public static void Main(string[] args) => CreateHostBuilder(args).Build().Run();
Host.CreateDefaultBuilder(args)
.ConfigureWebHostDefaults(webBuilder => webBuilder.UseStartup<Startup>())
.Build()
.Run();

public static IHostBuilder CreateHostBuilder(string[] args) =>
Host.CreateDefaultBuilder(args)
.ConfigureWebHostDefaults(webBuilder => webBuilder.UseStartup<Startup>());
}

0 comments on commit e7a2077

Please sign in to comment.