test bilder upload
All checks were successful
Branch - test - Build and Push Backend API Docker Image / build-and-push (push) Successful in 26s

This commit is contained in:
Tizian.Breuch
2025-11-07 10:06:34 +01:00
parent 45664122bc
commit 9ada5633bc
2 changed files with 4 additions and 2 deletions

View File

@@ -38,7 +38,9 @@ var builder = WebApplication.CreateBuilder(options);
var allowedOrigins = new string[]
{
"https://shopsolution-frontend.tzbre.dev",
"http://localhost:4200"
"http://localhost:4200",
"http://localhost:4200/",
"http://localhost:4200/*",
};
builder.Services.AddCors(options =>

View File

@@ -83,7 +83,7 @@ namespace Webshop.Domain.Entities
{
foreach (var catId in categorieIds)
{
Productcategories.Add(new Productcategorie { ProductId = this.Id, categorieId = catId });
Productcategories.Add(new Productcategorie { categorieId = catId });
}
}
}