Update configuration files for production, sandbox, and local environments. Changed Kaigen BaseUrl and database connection strings to point to new server addresses. Adjusted CORS allowed origins and authentication valid audiences for improved security and functionality.
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
}
|
||||
},
|
||||
"Kaigen": {
|
||||
"BaseUrl": "https://api.kaigen.managing.live",
|
||||
"BaseUrl": "https://srv-captain--kaigen-back:3000",
|
||||
"DebitEndpoint": "/api/credits/debit",
|
||||
"RefundEndpoint": "/api/credits/refund"
|
||||
},
|
||||
@@ -44,9 +44,7 @@
|
||||
"Cors": {
|
||||
"AllowedOrigins": [
|
||||
"https://app.kaigen.ai",
|
||||
"https://api.kaigen.ai",
|
||||
"https://web-ui.kai.managing.live",
|
||||
"http://localhost:3000"
|
||||
"https://web-ui.kai.managing.live"
|
||||
]
|
||||
},
|
||||
"Authentication": {
|
||||
@@ -55,8 +53,7 @@
|
||||
"ValidIssuer": "https://api.kaigen.ai",
|
||||
"ValidAudiences": [
|
||||
"https://app.kaigen.ai",
|
||||
"https://web-ui.kai.managing.live",
|
||||
"http://localhost:3000"
|
||||
"https://web-ui.kai.managing.live"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"PostgreSql": {
|
||||
"ConnectionString": "Host=srv-captain--managing-postgre;Port=5432;Database=managing;Username=postgres;Password=29032b13a5bc4d37",
|
||||
"Orleans": "Host=srv-captain--managing-postgre;Port=5432;Database=orleans;Username=postgres;Password=29032b13a5bc4d37"
|
||||
"ConnectionString": "Host=srv-captain--db;Port=5432;Database=managing;Username=postgres;Password=28d7c07e72296e08",
|
||||
"Orleans": "Host=srv-captain--db;Port=5432;Database=orleans;Username=postgres;Password=28d7c07e72296e08"
|
||||
},
|
||||
"InfluxDb": {
|
||||
"Url": "http://srv-captain--influx-db:8086/",
|
||||
@@ -9,7 +9,7 @@
|
||||
"Token": "zODh8Hn8sN5VwpVJH0HAwDpCJPE4oB5IUg8L4Q0T67KM1Rta6PoM0nATUzf1ddkyWx_VledooZXfFIddahbL9Q=="
|
||||
},
|
||||
"Kaigen": {
|
||||
"BaseUrl": "https://kaigen-back-kaigen-stage.up.railway.app",
|
||||
"BaseUrl": "https://srv-captain--kaigen-back:3000",
|
||||
"DebitEndpoint": "/api/credits/debit",
|
||||
"RefundEndpoint": "/api/credits/refund"
|
||||
},
|
||||
@@ -42,8 +42,7 @@
|
||||
"AllowedHosts": "*",
|
||||
"Cors": {
|
||||
"AllowedOrigins": [
|
||||
"https://kaigen-web-kaigen-stage.up.railway.app",
|
||||
"https://dev-managing-api.apps.managing.live",
|
||||
"https://kaigen-web.apps.managing.live",
|
||||
"https://web-ui.kai.managing.live",
|
||||
"http://localhost:3000"
|
||||
]
|
||||
@@ -53,7 +52,7 @@
|
||||
"Bearer": {
|
||||
"ValidIssuer": "https://dev-managing-api.apps.managing.live",
|
||||
"ValidAudiences": [
|
||||
"https://kaigen-web-kaigen-stage.up.railway.app",
|
||||
"https://kaigen-web.apps.managing.live",
|
||||
"https://web-ui.kai.managing.live",
|
||||
"http://localhost:3000"
|
||||
]
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"PostgreSql": {
|
||||
"ConnectionString": "Host=managing-postgre.apps.managing.live;Port=5432;Database=managing;Username=postgres;Password=29032b13a5bc4d37",
|
||||
"Orleans": "Host=managing-postgre.apps.managing.live;Port=5432;Database=orleans;Username=postgres;Password=29032b13a5bc4d37"
|
||||
"ConnectionString": "Host=db.apps.managing.live;Port=5432;Database=managing;Username=postgres;Password=28d7c07e72296e08",
|
||||
"Orleans": "Host=db.apps.managing.live;Port=5432;Database=orleans;Username=postgres;Password=28d7c07e72296e08"
|
||||
},
|
||||
"InfluxDb": {
|
||||
"Url": "https://influx-db.apps.managing.live",
|
||||
|
||||
Reference in New Issue
Block a user