WIP: refactoring pour déploiement

Non testé en conditions réelles. À valider avant de pousser.
This commit is contained in:
Paul Schneider 2026-06-14 04:55:18 +01:00
commit 9415521bcb
14 changed files with 125 additions and 28 deletions

View file

@ -19,6 +19,7 @@ using Yavsc.Abstract.Interfaces;
using Yavsc.Helpers;
using Yavsc.Interface;
using Yavsc.Models;
using Yavsc.Server.Helpers;
using Yavsc.Services;
internal class Program
@ -29,10 +30,8 @@ internal class Program
var builder = WebApplication.CreateBuilder(args);
builder.Configuration
.AddJsonFile("appsettings-api.json", optional: false, reloadOnChange: false)
.AddJsonFile($"appsettings-api.{builder.Environment.EnvironmentName}.json", optional: false, reloadOnChange: false)
.AddEnvironmentVariables();
builder.AddConfiguration("api");
var services = builder.Services;
// Anthropic client

View file

@ -10,7 +10,7 @@
"Kestrel": {
"Endpoints": {
"Https":{
"Url": "https://localhost:6001"
"Url": "https://localhost:3004"
}
}
}