remove static url
This commit is contained in:
@ -87,7 +87,7 @@ export class RoomController {
|
||||
res_list.withDeleted();
|
||||
}
|
||||
|
||||
const photoBaseUrl = config.server.host_swagger+"uploads/room-picture/";
|
||||
const photoBaseUrl = config.server.host_swagger + "uploads/room-picture/";
|
||||
|
||||
const current_page = param.page;
|
||||
const total_count_data = await res_count.getCount();
|
||||
@ -511,7 +511,7 @@ export class RoomController {
|
||||
|
||||
const files = fs.readdirSync(filePath);
|
||||
|
||||
const photoBaseUrl = "https://his.shiblysolution.id/service-master-data/uploads/room-picture/template/";
|
||||
const photoBaseUrl = config.server.host_swagger + "uploads/room-picture/template/";
|
||||
const filesWithUrl = files.map((filename, index) => ({
|
||||
id: index,
|
||||
name: `template/${filename}`,
|
||||
|
||||
Reference in New Issue
Block a user