diff --git a/app/(dashboard)/components/AdjustmentAutoCheckout.tsx b/app/(dashboard)/components/AdjustmentAutoCheckout.tsx index 13f83cf..a88cc8f 100644 --- a/app/(dashboard)/components/AdjustmentAutoCheckout.tsx +++ b/app/(dashboard)/components/AdjustmentAutoCheckout.tsx @@ -183,7 +183,7 @@ const AdjusmentAutoCheckout: FC = ({ data, className }) => {
handleFetchPresenceByID(item.presence_id)} >
}> - +

{item.fullname}

@@ -231,7 +231,7 @@ const AdjusmentAutoCheckout: FC = ({ data, className }) => {
}> - + {dataPresence.user.fullname} {dataPresence?.user?.position?.name || dataPresence?.user.nickname} diff --git a/app/(dashboard)/components/ApprovalLeaveSick.tsx b/app/(dashboard)/components/ApprovalLeaveSick.tsx index 7f5841b..a69fb29 100644 --- a/app/(dashboard)/components/ApprovalLeaveSick.tsx +++ b/app/(dashboard)/components/ApprovalLeaveSick.tsx @@ -147,7 +147,7 @@ const ApprovalLeaveSick: FC = ({ data, className }) => {
handleFetchPresenceByID(item.application_form_id)}>
}> - +

{item.fullname}

@@ -185,7 +185,7 @@ const ApprovalLeaveSick: FC = ({ data, className }) => {
}> - + {dataPresence.user.fullname} {dataPresence?.position_name || dataPresence?.user.nickname} diff --git a/app/(dashboard)/components/EmployeeBirthday.tsx b/app/(dashboard)/components/EmployeeBirthday.tsx index 34b0434..802b0e3 100644 --- a/app/(dashboard)/components/EmployeeBirthday.tsx +++ b/app/(dashboard)/components/EmployeeBirthday.tsx @@ -47,7 +47,7 @@ const EmployeeBirthday: FC = ({ data, className }) => { data.list.map((item: any, key: number) =>
}> - +

{item.fullname}

diff --git a/app/(dashboard)/components/NeedApproval.tsx b/app/(dashboard)/components/NeedApproval.tsx index f339061..021183d 100644 --- a/app/(dashboard)/components/NeedApproval.tsx +++ b/app/(dashboard)/components/NeedApproval.tsx @@ -156,7 +156,7 @@ const NeedApproval: FC = ({ data, className }) => {
handleFetchPresenceByID(item.presence_id)}>
}> - +

{item.fullname}

@@ -204,7 +204,7 @@ const NeedApproval: FC = ({ data, className }) => {
}> - + {dataPresence.user.fullname} {dataPresence?.user?.position?.name || dataPresence?.user.nickname} diff --git a/app/(dashboard)/components/PresenceDetail.tsx b/app/(dashboard)/components/PresenceDetail.tsx index 4b66776..5ef9a3a 100644 --- a/app/(dashboard)/components/PresenceDetail.tsx +++ b/app/(dashboard)/components/PresenceDetail.tsx @@ -78,7 +78,7 @@ const PresenceDetail: FC = ({ data, className }) => {
}> - +

{item.fullname}

diff --git a/app/(dashboard)/hats-team/page.tsx b/app/(dashboard)/hats-team/page.tsx index 5c4d4f2..ba3066d 100644 --- a/app/(dashboard)/hats-team/page.tsx +++ b/app/(dashboard)/hats-team/page.tsx @@ -96,7 +96,7 @@ const TeamMemberCard = ({ member, isPast = false }: { member: TeamMember; isPast }> - +

diff --git a/app/(dashboard)/profile/components/ChangeAvatar.tsx b/app/(dashboard)/profile/components/ChangeAvatar.tsx index bf20d83..5b3c88c 100644 --- a/app/(dashboard)/profile/components/ChangeAvatar.tsx +++ b/app/(dashboard)/profile/components/ChangeAvatar.tsx @@ -142,7 +142,7 @@ const ChangeAvatar: FC = ({ nik, existAvatar }) => { <>
}> - +

Personalize your account with photos. Your profile photo will appear on apps and devices that use your Supper Apps account.

diff --git a/app/(dashboard)/release-notes/page.tsx b/app/(dashboard)/release-notes/page.tsx index 15d299b..1aefc5e 100644 --- a/app/(dashboard)/release-notes/page.tsx +++ b/app/(dashboard)/release-notes/page.tsx @@ -24,7 +24,7 @@ const releaseNotes: ReleaseNote[] = [ { category: 'breaking', description:
Fixing two additional vulnerabilities (Denial of Service CVE-2025-55184 and Source Code Exposure CVE-2025-55183) in React Server Components. Please see this React blog and this Next.js bulletin to learn more about these vulnerabilities (December 11, 2025).
}, { category: "improvement", description: "Upgraded Next.js from v13.5.6 to v16.0.10" }, { category: "improvement", description: "Upgraded React and ReactDOM from v18.2.0 to v19.2.3" }, - { category: "improvement", description: "Replaced native img tags with Next.js Image component and added lazy loading for avatars" }, + { category: "improvement", description: "Replaced native img tags with LazyLoad Image component and added lazy loading for avatars" }, { category: "bugfix", description: "Fixed spamming \"Failed to fetch geolocation\" alerts when presence using mobile devices" }, { category: "feature", description: "Added progress bar indicator when route change in employee routes" }, { category: 'feature', description:
Added hats team page
}, diff --git a/app/admin/administration/area/component/index.tsx b/app/admin/administration/area/component/index.tsx index 7a9e80e..faab329 100644 --- a/app/admin/administration/area/component/index.tsx +++ b/app/admin/administration/area/component/index.tsx @@ -148,7 +148,7 @@ const ComponentAreaPage: FC = ({ data }) => { defaultPageSize: 10, showSizeChanger: true, showQuickJumper: true, - size: 'default' + // size: 'default' }, scroll: { x: 'max-content' }, tableLayout: 'auto', diff --git a/app/admin/administration/company/component/index.tsx b/app/admin/administration/company/component/index.tsx index 8f515df..2db3dd3 100644 --- a/app/admin/administration/company/component/index.tsx +++ b/app/admin/administration/company/component/index.tsx @@ -172,7 +172,7 @@ const ComponentCompanyPage: FC = ({ data }) => { defaultPageSize: 10, showSizeChanger: true, showQuickJumper: true, - size: 'default', + // size: 'default', }, scroll: { x: 'max-content' }, tableLayout: 'auto', diff --git a/app/admin/administration/division/component/index.tsx b/app/admin/administration/division/component/index.tsx index e5c9c22..d53e4e1 100644 --- a/app/admin/administration/division/component/index.tsx +++ b/app/admin/administration/division/component/index.tsx @@ -145,7 +145,7 @@ const ComponentPage: FC = ({ data }) => { defaultPageSize: 10, showSizeChanger: true, showQuickJumper: true, - size: 'default' + // size: 'default' }, scroll: { x: 'max-content' }, tableLayout: 'auto', diff --git a/app/admin/administration/user/component/EmployeePerformance/Table.tsx b/app/admin/administration/user/component/EmployeePerformance/Table.tsx index 48a12d7..fba5ce8 100644 --- a/app/admin/administration/user/component/EmployeePerformance/Table.tsx +++ b/app/admin/administration/user/component/EmployeePerformance/Table.tsx @@ -258,7 +258,7 @@ const TableAttendanceHistory: FC = ({ data }) => { defaultPageSize: 15, showSizeChanger: true, showQuickJumper: true, - size: 'default' + // size: 'default' }, scroll: { x: 'max-content' }, tableLayout: 'auto', diff --git a/app/admin/administration/user/component/index.tsx b/app/admin/administration/user/component/index.tsx index 23d8027..f5b72cf 100644 --- a/app/admin/administration/user/component/index.tsx +++ b/app/admin/administration/user/component/index.tsx @@ -186,7 +186,7 @@ const ComponentPage: FC = ({ data }) => { defaultPageSize: 10, showSizeChanger: true, showQuickJumper: true, - size: 'default' + // size: 'default' }, scroll: { x: 'max-content' }, tableLayout: 'auto', diff --git a/app/admin/audit-trail/component/index.tsx b/app/admin/audit-trail/component/index.tsx index 98b22b3..46db3b8 100644 --- a/app/admin/audit-trail/component/index.tsx +++ b/app/admin/audit-trail/component/index.tsx @@ -151,7 +151,7 @@ const ComponentPage: FC = ({ data }) => { defaultPageSize: 10, showSizeChanger: true, showQuickJumper: true, - size: 'default' + // size: 'default' }, scroll: { x: 'max-content' }, tableLayout: 'auto', diff --git a/app/admin/day-off/component/index.tsx b/app/admin/day-off/component/index.tsx index cab304a..5a40a4a 100644 --- a/app/admin/day-off/component/index.tsx +++ b/app/admin/day-off/component/index.tsx @@ -143,7 +143,7 @@ const ComponentPage: FC = ({ data }) => { defaultPageSize: 10, showSizeChanger: true, showQuickJumper: true, - size: 'default' + // size: 'default' }, scroll: { x: 'max-content' }, tableLayout: 'auto', diff --git a/app/admin/device/device-type/component/index.tsx b/app/admin/device/device-type/component/index.tsx index 62e2a64..6183b4f 100644 --- a/app/admin/device/device-type/component/index.tsx +++ b/app/admin/device/device-type/component/index.tsx @@ -151,7 +151,7 @@ const ComponentPage: FC = ({ data }) => { defaultPageSize: 10, showSizeChanger: true, showQuickJumper: true, - size: 'default' + // size: 'default' }, scroll: { x: 'max-content' }, tableLayout: 'auto', diff --git a/app/admin/device/device/component/index.tsx b/app/admin/device/device/component/index.tsx index 3cca4d8..ee820ad 100644 --- a/app/admin/device/device/component/index.tsx +++ b/app/admin/device/device/component/index.tsx @@ -151,7 +151,7 @@ const ComponentPage: FC = ({ data }) => { defaultPageSize: 10, showSizeChanger: true, showQuickJumper: true, - size: 'default' + // size: 'default' }, scroll: { x: 'max-content' }, tableLayout: 'auto', diff --git a/app/admin/global-parameter/component/index.tsx b/app/admin/global-parameter/component/index.tsx index 2e2fb4f..0a9581b 100644 --- a/app/admin/global-parameter/component/index.tsx +++ b/app/admin/global-parameter/component/index.tsx @@ -160,7 +160,7 @@ const ComponentPage: FC = ({ data }) => { defaultPageSize: 10, showSizeChanger: true, showQuickJumper: true, - size: 'default' + // size: 'default' }, scroll: { x: 'max-content' }, tableLayout: 'auto', diff --git a/app/admin/information/employee-type/component/index.tsx b/app/admin/information/employee-type/component/index.tsx index 9e187af..2e7fb45 100644 --- a/app/admin/information/employee-type/component/index.tsx +++ b/app/admin/information/employee-type/component/index.tsx @@ -92,7 +92,7 @@ const ComponentRolePage: FC = ({ data }) => { defaultPageSize: 10, showSizeChanger: true, showQuickJumper: true, - size: 'default' + // size: 'default' }, scroll: { x: 'max-content' }, tableLayout: 'auto', diff --git a/app/admin/information/master-status/component/index.tsx b/app/admin/information/master-status/component/index.tsx index c166715..e9d27f0 100644 --- a/app/admin/information/master-status/component/index.tsx +++ b/app/admin/information/master-status/component/index.tsx @@ -63,7 +63,7 @@ const ComponentRolePage: FC = ({ data }) => { defaultPageSize: 10, showSizeChanger: true, showQuickJumper: true, - size: 'default' + // size: 'default' }, scroll: { x: 'max-content' }, tableLayout: 'auto', diff --git a/app/admin/information/position/component/index.tsx b/app/admin/information/position/component/index.tsx index d2f0ce6..b48312b 100644 --- a/app/admin/information/position/component/index.tsx +++ b/app/admin/information/position/component/index.tsx @@ -92,7 +92,7 @@ const ComponentRolePage: FC = ({ data }) => { defaultPageSize: 10, showSizeChanger: true, showQuickJumper: true, - size: 'default' + // size: 'default' }, scroll: { x: 'max-content' }, tableLayout: 'auto', diff --git a/app/admin/information/user-role/component/index.tsx b/app/admin/information/user-role/component/index.tsx index a0b4904..c5887b0 100644 --- a/app/admin/information/user-role/component/index.tsx +++ b/app/admin/information/user-role/component/index.tsx @@ -134,7 +134,7 @@ const ComponentRolePage: FC = ({ data }) => { defaultPageSize: 10, showSizeChanger: true, showQuickJumper: true, - size: 'default' + // size: 'default' }, scroll: { x: 'max-content' }, tableLayout: 'auto', diff --git a/app/admin/information/working-status/component/index.tsx b/app/admin/information/working-status/component/index.tsx index 07f3bf9..6c0c91a 100644 --- a/app/admin/information/working-status/component/index.tsx +++ b/app/admin/information/working-status/component/index.tsx @@ -63,7 +63,7 @@ const ComponentRolePage: FC = ({ data }) => { defaultPageSize: 10, showSizeChanger: true, showQuickJumper: true, - size: 'default' + // size: 'default' }, scroll: { x: 'max-content' }, tableLayout: 'auto', diff --git a/app/admin/manual/approval-autocheckout/component/Detail.tsx b/app/admin/manual/approval-autocheckout/component/Detail.tsx index 6d286c4..a7e098e 100644 --- a/app/admin/manual/approval-autocheckout/component/Detail.tsx +++ b/app/admin/manual/approval-autocheckout/component/Detail.tsx @@ -2,7 +2,7 @@ import ViewAvatar from '@/components/ViewAvatar'; import { Badge } from '@/components/ui/badge'; import { Button } from '@/components/ui/button'; import { Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle } from '@/components/ui/dialog'; -import { getVariantApproved, getVariantWorkingStatus } from '@/lib/helper'; +import { getVariantWorkingStatus } from '@/lib/helper'; import dayjs from 'dayjs'; import { Dispatch, FC, MouseEvent, SetStateAction } from 'react'; @@ -28,7 +28,7 @@ const DetailModalComponent: FC = ({ data, open, onOpenChange, onClose })
- + {data.fullname} {data?.position_name || data?.nickname}
diff --git a/app/admin/manual/approval-autocheckout/component/index.tsx b/app/admin/manual/approval-autocheckout/component/index.tsx index 14939e1..ca9c7e2 100644 --- a/app/admin/manual/approval-autocheckout/component/index.tsx +++ b/app/admin/manual/approval-autocheckout/component/index.tsx @@ -96,7 +96,7 @@ const ComponentPage: FC = ({ data }) => { defaultPageSize: 15, showSizeChanger: true, showQuickJumper: true, - size: 'default' + // size: 'default' }, scroll: { x: 'max-content' }, tableLayout: 'auto', diff --git a/app/admin/manual/approval/component/Detail.tsx b/app/admin/manual/approval/component/Detail.tsx index 444633f..6d38967 100644 --- a/app/admin/manual/approval/component/Detail.tsx +++ b/app/admin/manual/approval/component/Detail.tsx @@ -28,7 +28,7 @@ const DetailModalComponent: FC = ({ data, open, onOpenChange, onClose })
- + {data.fullname} {data?.position_name || data?.nickname}
diff --git a/app/admin/manual/approval/component/index.tsx b/app/admin/manual/approval/component/index.tsx index d22819b..fd21540 100644 --- a/app/admin/manual/approval/component/index.tsx +++ b/app/admin/manual/approval/component/index.tsx @@ -106,7 +106,7 @@ const ComponentPage: FC = ({ data }) => { defaultPageSize: 15, showSizeChanger: true, showQuickJumper: true, - size: 'default' + // size: 'default' }, scroll: { x: 'max-content' }, tableLayout: 'auto', diff --git a/app/admin/menu/component/index.tsx b/app/admin/menu/component/index.tsx index 31f931f..cebe66c 100644 --- a/app/admin/menu/component/index.tsx +++ b/app/admin/menu/component/index.tsx @@ -173,7 +173,7 @@ const ComponentPage: FC = ({ data }) => { defaultPageSize: 10, showSizeChanger: true, showQuickJumper: true, - size: 'default' + // size: 'default' }, scroll: { x: 'max-content' }, tableLayout: 'auto', diff --git a/app/admin/report/distribution/component/index.tsx b/app/admin/report/distribution/component/index.tsx index 0cb7d1a..89c16e9 100644 --- a/app/admin/report/distribution/component/index.tsx +++ b/app/admin/report/distribution/component/index.tsx @@ -651,7 +651,7 @@ const ComponentPage: FC = ({ data }) => { defaultPageSize: 15, showSizeChanger: true, showQuickJumper: true, - size: 'default' + // size: 'default' }, scroll: { x: 'max-content' }, tableLayout: 'auto', diff --git a/app/admin/report/history/component/index.tsx b/app/admin/report/history/component/index.tsx index f5f04c5..69c04d5 100644 --- a/app/admin/report/history/component/index.tsx +++ b/app/admin/report/history/component/index.tsx @@ -47,7 +47,7 @@ const ComponentPage: FC = ({ data }) => { defaultPageSize: 15, showSizeChanger: true, showQuickJumper: true, - size: 'default' + // size: 'default' }, scroll: { x: 'max-content' }, tableLayout: 'auto', diff --git a/app/admin/report/leave-permit-sick/component/Detail.tsx b/app/admin/report/leave-permit-sick/component/Detail.tsx index 57b5af5..f840501 100644 --- a/app/admin/report/leave-permit-sick/component/Detail.tsx +++ b/app/admin/report/leave-permit-sick/component/Detail.tsx @@ -51,7 +51,7 @@ const DetailModalComponent: FC = ({ data, open, onOpenChange, onClose })

Note

-

{data.note || '-'}

+

{data.note || '-'}

{data.tag?.length > 0 && data.tag?.map((item: string) => {item} )} diff --git a/app/admin/report/leave-permit-sick/component/index.tsx b/app/admin/report/leave-permit-sick/component/index.tsx index 7027110..dc55f2c 100644 --- a/app/admin/report/leave-permit-sick/component/index.tsx +++ b/app/admin/report/leave-permit-sick/component/index.tsx @@ -111,7 +111,7 @@ const ComponentPage: FC = ({ data }) => { defaultPageSize: 15, showSizeChanger: true, showQuickJumper: true, - size: 'default' + // size: 'default' }, scroll: { x: 'max-content' }, tableLayout: 'auto', diff --git a/app/admin/report/monthly-presence/component/index.tsx b/app/admin/report/monthly-presence/component/index.tsx index 4053b37..8aaf125 100644 --- a/app/admin/report/monthly-presence/component/index.tsx +++ b/app/admin/report/monthly-presence/component/index.tsx @@ -115,7 +115,7 @@ const ComponentPage: FC = ({ data }) => { defaultPageSize: 30, showSizeChanger: true, showQuickJumper: true, - size: 'default' + // size: 'default' }, scroll: { x: 'max-content' }, tableLayout: 'auto', diff --git a/app/performance/[id]/components/Table.tsx b/app/performance/[id]/components/Table.tsx index 173002d..26c1e68 100644 --- a/app/performance/[id]/components/Table.tsx +++ b/app/performance/[id]/components/Table.tsx @@ -47,7 +47,7 @@ const TableAttendanceHistory: FC = ({ data }) => { defaultPageSize: 15, showSizeChanger: true, showQuickJumper: true, - size: 'default' + // size: 'default' }, scroll: { x: 'max-content' }, tableLayout: 'auto', diff --git a/app/performance/[id]/components/index.tsx b/app/performance/[id]/components/index.tsx index 0077820..4cadce0 100644 --- a/app/performance/[id]/components/index.tsx +++ b/app/performance/[id]/components/index.tsx @@ -9,9 +9,8 @@ import fetchData, { fetchDataWithPost } from '@/lib/fetchData'; import { generateHourMinutes } from '@/lib/helper'; import { type IUser } from '@/app/admin/administration/user/component/type'; import { type IPerformace } from './type'; -import FallbackAvatar from '@/components/loader/FallbackAvatar'; +import ViewAvatar from '@/components/ViewAvatar'; -const ViewAvatar = lazy(() => import('@/components/ViewAvatar')); const DonutChart = lazy(() => import('./DonutChart')); const AreaChart = lazy(() => import('./AreaChart')) const TableAttendanceHistory = lazy(() => import('./Table')) @@ -47,9 +46,7 @@ const PerformanceComponent: FC = async ({ id, start_date, end_date }) =>
- }> - - +
{user.fullname}
diff --git a/components/ViewAvatar.NextImage.tsx b/components/ViewAvatar.NextImage.tsx new file mode 100644 index 0000000..b55ed45 --- /dev/null +++ b/components/ViewAvatar.NextImage.tsx @@ -0,0 +1,103 @@ +import { FC } from 'react'; +import Image from 'next/image'; +import { Dialog, DialogContent, DialogHeader, DialogTrigger } from './ui/dialog'; +import { cn } from '@/lib/utils'; +import { DialogDescription, DialogTitle } from '@radix-ui/react-dialog'; + +type Props = { + avatar: string + className?: string, + isPresence?: boolean + sizes?: string; + quality?: number +}; + +const ViewAvatarNextImage: FC = ({ avatar, className, isPresence, quality = 65, sizes = "(max-width: 640px) 36px, 40px" }) => { + return ( + <> + {avatar ? + + + {/* avatar */} +
+ avatar +
+
+ + + Profile + Description of profile avatar + + {/* avatar */} + {/* 2. Logic Switch for Image Mode */} + {isPresence ? ( + // MODE A: Presence (Natural Aspect Ratio) + // We use width=0 height=0 + sizes=100vw to emulate "width: 100%, height: auto" + avatar + ) : ( + // MODE B: Default Profile (Fixed Box with Crop) + // We use fill to cover the specific 500x500 box +
+ avatar +
+ )} +
+
+ : +
+ avatar +
+ } + + ); +} + + +export const Avatar: FC = ({ avatar, className, sizes = "(max-width: 640px) 36px, 40px" }) => { + return ( + <> + {avatar ? + // avatar +
+ avatar +
+ : + avatar + } + + ); +} + +export default ViewAvatarNextImage; \ No newline at end of file diff --git a/components/ViewAvatar.tsx b/components/ViewAvatar.tsx index 94b0e4e..3c1bafc 100644 --- a/components/ViewAvatar.tsx +++ b/components/ViewAvatar.tsx @@ -1,101 +1,104 @@ +'use client' + import { FC } from 'react'; -import Image from 'next/image'; -import { Dialog, DialogContent, DialogHeader, DialogTrigger } from './ui/dialog'; +import { LazyLoadImage } from 'react-lazy-load-image-component'; + +import { Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle, DialogTrigger } from './ui/dialog'; import { cn } from '@/lib/utils'; -import { DialogDescription, DialogTitle } from '@radix-ui/react-dialog'; type Props = { - avatar: string - className?: string, - isPresence?: boolean - sizes?: string; - quality?: number + avatar: string | null; // Allow null to handle fallback logic safely + className?: string; + isPresence?: boolean; + // sizes and quality are removed as they are specific to Next/Image server processing }; -const ViewAvatar: FC = ({ avatar, className, isPresence, quality = 65, sizes = "(max-width: 640px) 36px, 40px" }) => { +const ViewAvatar: FC = ({ avatar, className, isPresence }) => { return ( <> - {avatar ? + {avatar ? ( - {/* avatar */} -
- + -
+
- + + Profile Description of profile avatar - {/* avatar */} - {/* 2. Logic Switch for Image Mode */} - {isPresence ? ( - // MODE A: Presence (Natural Aspect Ratio) - // We use width=0 height=0 + sizes=100vw to emulate "width: 100%, height: auto" - avatar - ) : ( - // MODE B: Default Profile (Fixed Box with Crop) - // We use fill to cover the specific 500x500 box -
- avatar -
- )} + + {/* 2. DIALOG CONTENT IMAGE + Logic for Presence vs Standard is much simpler now. + Standard CSS handles the width/height. + */} +
- : -
- + -
- } + + )} ); } - -export const Avatar: FC = ({ avatar, className, sizes = "(max-width: 640px) 36px, 40px" }) => { +export const Avatar: FC = ({ avatar, className }) => { return ( <> - {avatar ? - // avatar -
- avatar + -
- : - avatar - } + + ) : ( + + + + )} ); } diff --git a/next.config.ts b/next.config.ts index f628891..fd62934 100644 --- a/next.config.ts +++ b/next.config.ts @@ -12,7 +12,7 @@ const nextConfig: NextConfig = { 'DEVICE_CODE': process.env.DEVICE_CODE, }, images: { - unoptimized: true, // <--- ADD THIS LINE + // unoptimized: true, // <--- ADD THIS LINE remotePatterns: [ new URL('https://36.66.3.44/**'), new URL('https://his.nutech-integrasi.com/**'),