แก้env

This commit is contained in:
Kittapath 2024-07-09 00:04:51 +07:00
parent b02f8bc2e6
commit 244b0d8469
3 changed files with 4 additions and 4 deletions

View file

@ -2105,7 +2105,7 @@ namespace BMA.EHR.Recurit.Exam.Service.Services
{
var IsOfficer = false;
dynamic org = null;
var apiUrl = $"{_configuration["API"]}org/profile/citizenid/position/{candidate.CitizenId}";
var apiUrl = $"{_configuration["API"]}/org/profile/citizenid/position/{candidate.CitizenId}";
using (var client = new HttpClient())
{
client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", token.Replace("Bearer ", ""));
@ -2286,7 +2286,7 @@ namespace BMA.EHR.Recurit.Exam.Service.Services
{
var IsOfficer = false;
dynamic org = null;
var apiUrl = $"{_configuration["API"]}org/profile/citizenid/position/{candidate.CitizenId}";
var apiUrl = $"{_configuration["API"]}/org/profile/citizenid/position/{candidate.CitizenId}";
using (var client = new HttpClient())
{
client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", token.Replace("Bearer ", ""));

View file

@ -43,5 +43,5 @@
},
"Domain": "https://bma-ehr-exam.frappet.synology.me",
"Protocol": "HTTPS",
"API": "https://bma-ehr.frappet.synology.me/api/v1/"
"API": "https://bma-ehr.frappet.synology.me/api/v1"
}

View file

@ -42,5 +42,5 @@
"Port": "587"
},
"Domain": "http://localhost:5173",
"API": "https://bma-ehr.frappet.synology.me/api/v1/"
"API": "https://bma-ehr.frappet.synology.me/api/v1"
}