fix: añadido cors
Signed-off-by: fede <federico.nicolas.polidoro@gmail.com>
This commit is contained in:
@@ -11,7 +11,7 @@ builder.Services.AddCors(options =>
|
||||
options.AddPolicy("AllowSvelteApp",
|
||||
builder =>
|
||||
{
|
||||
builder.WithOrigins("*")
|
||||
builder.AllowAnyOrigin()
|
||||
.AllowAnyHeader()
|
||||
.AllowAnyMethod();
|
||||
});
|
||||
|
||||
2
Aspnet/makefile
Normal file
2
Aspnet/makefile
Normal file
@@ -0,0 +1,2 @@
|
||||
run:
|
||||
dotnet watch run
|
||||
Reference in New Issue
Block a user