WIP: refactoring pour déploiement
Non testé en conditions réelles. À valider avant de pousser.
This commit is contained in:
parent
2564d9938e
commit
9415521bcb
14 changed files with 125 additions and 28 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
"Kestrel": {
|
||||
"Endpoints": {
|
||||
"Https":{
|
||||
"Url": "https://localhost:6001"
|
||||
"Url": "https://localhost:3004"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue