update
This commit is contained in:
@ -11,9 +11,9 @@ import moment from "moment";
|
||||
import dayjs from 'dayjs';
|
||||
import fileUpload from "express-fileupload";
|
||||
import { v4 as uuidv4 } from 'uuid';
|
||||
import config from "config";
|
||||
import fs from "fs";
|
||||
import path from "path";
|
||||
import config from '../../config/stag.json';
|
||||
|
||||
const log: Logger<ILogObj> = new Logger({
|
||||
name: "[HospitalInformationController]",
|
||||
@ -50,7 +50,7 @@ export class HospitalInformationController {
|
||||
|
||||
let hospitallogo = '';
|
||||
if (hospital.logo != null && hospital.logo != undefined && hospital.logo != '') {
|
||||
hospitallogo = 'https://his.shiblysolution.id/service-master-data/uploads/hospital-logo/' + hospital.logo;
|
||||
hospitallogo = `${config.server.host_swagger}uploads/hospital-logo/${hospital.logo}`;
|
||||
}
|
||||
|
||||
const result = {
|
||||
|
||||
Reference in New Issue
Block a user