implementado login a travez de coockies
This commit is contained in:
@@ -11,9 +11,10 @@ builder.Services.AddCors(options =>
|
||||
options.AddPolicy("AllowSvelteApp",
|
||||
builder =>
|
||||
{
|
||||
builder.AllowAnyOrigin()
|
||||
builder.WithOrigins("http://localhost:5173")
|
||||
.AllowAnyHeader()
|
||||
.AllowAnyMethod();
|
||||
.AllowAnyMethod()
|
||||
.AllowCredentials();
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user