Skip to content

Commit 5af8e48

Browse files
Merge pull request #327 from tadic-luka/patch-1
Thanks!
2 parents f64b780 + aa98b85 commit 5af8e48

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,11 @@ public static IWebHost BuildWebHost(string[] args)
6464
Open the Electron Window in the Startup.cs file:
6565

6666
```csharp
67+
public void ConfigureServices(IServiceCollection services)
68+
{
69+
services.AddMvc(option => option.EnableEndpointRouting = false);
70+
}
71+
6772
public void Configure(IApplicationBuilder app, IHostingEnvironment env)
6873
{
6974
if (env.IsDevelopment())

0 commit comments

Comments
 (0)