diff --git a/Aspnet/Program.cs b/Aspnet/Program.cs index f08a8c6..e0bdaac 100644 --- a/Aspnet/Program.cs +++ b/Aspnet/Program.cs @@ -11,7 +11,7 @@ builder.Services.AddCors(options => options.AddPolicy("AllowSvelteApp", builder => { - builder.WithOrigins("*") + builder.AllowAnyOrigin() .AllowAnyHeader() .AllowAnyMethod(); }); diff --git a/Aspnet/makefile b/Aspnet/makefile new file mode 100644 index 0000000..46aa736 --- /dev/null +++ b/Aspnet/makefile @@ -0,0 +1,2 @@ +run: + dotnet watch run