Publishoz

This commit is contained in:
2025-04-10 08:46:41 +02:00
parent 02cef1bf23
commit 621d61e08e
6 changed files with 46 additions and 2 deletions
+5
View File
@@ -83,6 +83,11 @@ builder.Services.AddCors(options =>
});
});
builder.WebHost.ConfigureKestrel(options =>
{
var kestrelConfig = builder.Configuration.GetSection("Kestrel");
options.Configure(kestrelConfig);
});
var app = builder.Build();
//----------------- Munkakönyvtárak létrehozása -----------------------------
string imageDirectory = Path.Combine(Directory.GetCurrentDirectory(), "Images");
+8 -1
View File
@@ -30,5 +30,12 @@
}
]
},
"AllowedHosts": "*"
"AllowedHosts": "*",
"Kestrel": {
"Endpoints": {
"Http": {
"Url": "http://localhost:8660"
}
}
}
}