Skip to content

Commit 394e3d5

Browse files
committed
formatting
1 parent 1a80ac5 commit 394e3d5

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

Sample/Pages/Privacy.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@page
1+
@page
22
@model PrivacyModel
33
@{
44
ViewData["Title"] = "Privacy Policy";

Sample/Startup.cs

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,9 @@ public void ConfigureServices(IServiceCollection services)
4444
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
4545
public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
4646
{
47-
if (env.IsDevelopment())
48-
{
47+
if (env.IsDevelopment()) {
4948
app.UseDeveloperExceptionPage();
50-
}
51-
else
52-
{
49+
} else {
5350
app.UseExceptionHandler("/Error");
5451
}
5552

@@ -62,8 +59,7 @@ public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
6259
app.UseGraphQL<TodoSchema>();
6360
app.UseGraphQLGraphiQL();
6461

65-
app.UseEndpoints(endpoints =>
66-
{
62+
app.UseEndpoints(endpoints => {
6763
endpoints.MapRazorPages();
6864
});
6965
}

0 commit comments

Comments
 (0)