diff --git a/backend/Program.cs b/backend/Program.cs index a18403d..c88ca0e 100644 --- a/backend/Program.cs +++ b/backend/Program.cs @@ -20,7 +20,10 @@ if (app.Environment.IsDevelopment()) app.UseSwaggerUI(); } -app.UseCors(builder => builder.WithOrigins("*")); +app.UseCors(builder => { + builder.WithOrigins("http://localhost:5173"); + builder.AllowCredentials(); +}); //app.UseHttpsRedirection(); diff --git a/frontend/index.html b/frontend/index.html index 99f583a..78a0808 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -4,7 +4,7 @@ - Vite App + M&M's Dispenser
diff --git a/frontend/public/favicon.ico b/frontend/public/favicon.ico index df36fcf..5ed1a98 100644 Binary files a/frontend/public/favicon.ico and b/frontend/public/favicon.ico differ