remove static url

This commit is contained in:
avicenan
2026-05-22 10:04:36 +09:00
parent e89b69ab10
commit 9211a21575

View File

@ -87,7 +87,7 @@ export class RoomController {
res_list.withDeleted(); 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 current_page = param.page;
const total_count_data = await res_count.getCount(); const total_count_data = await res_count.getCount();
@ -511,7 +511,7 @@ export class RoomController {
const files = fs.readdirSync(filePath); 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) => ({ const filesWithUrl = files.map((filename, index) => ({
id: index, id: index,
name: `template/${filename}`, name: `template/${filename}`,