Added cors
This commit is contained in:
1 parent
8f9396c791
commit
6c5fe1bc00
2 files changed
+14
-3
No files matched your search
@@ -19,7 +19,7 @@ public class ServerStartup
|
||||
public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
|
||||
{
|
||||
app.UseRouting();
|
||||
|
||||
app.UseCors();
|
||||
app.UseEndpoints(endpoints =>
|
||||
{
|
||||
endpoints.MapGet("/", async context =>
|
||||
|
||||
Reference in new issue
Block a user