test bilder upload
All checks were successful
Branch - test - Build and Push Backend API Docker Image / build-and-push (push) Successful in 26s
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:
@@ -38,7 +38,9 @@ var builder = WebApplication.CreateBuilder(options);
|
|||||||
var allowedOrigins = new string[]
|
var allowedOrigins = new string[]
|
||||||
{
|
{
|
||||||
"https://shopsolution-frontend.tzbre.dev",
|
"https://shopsolution-frontend.tzbre.dev",
|
||||||
"http://localhost:4200"
|
"http://localhost:4200",
|
||||||
|
"http://localhost:4200/",
|
||||||
|
"http://localhost:4200/*",
|
||||||
};
|
};
|
||||||
|
|
||||||
builder.Services.AddCors(options =>
|
builder.Services.AddCors(options =>
|
||||||
|
|||||||
@@ -83,7 +83,7 @@ namespace Webshop.Domain.Entities
|
|||||||
{
|
{
|
||||||
foreach (var catId in categorieIds)
|
foreach (var catId in categorieIds)
|
||||||
{
|
{
|
||||||
Productcategories.Add(new Productcategorie { ProductId = this.Id, categorieId = catId });
|
Productcategories.Add(new Productcategorie { categorieId = catId });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user