From e0e9f8651fb3da244ebe57b5f785c5653de82331 Mon Sep 17 00:00:00 2001 From: Ichsan Kurniawan Date: Wed, 28 Jan 2026 20:45:59 +0700 Subject: [PATCH] update --- README.md | 6 ++++++ next.config.ts | 1 + 2 files changed, 7 insertions(+) diff --git a/README.md b/README.md index 2009be1..ae9984d 100644 --- a/README.md +++ b/README.md @@ -53,3 +53,9 @@ pm2 start npm --name "new-hats-app" -- start # command git clone https://ichsankurnia:@github.com/ichsankurnia/hats-app.git ``` + +### Generate new certificates + +```bash +sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/ssl/privatekey/his-260128.key -out /etc/ssl/certs/his-260128.crt +``` diff --git a/next.config.ts b/next.config.ts index bd9ffb2..f628891 100644 --- a/next.config.ts +++ b/next.config.ts @@ -12,6 +12,7 @@ const nextConfig: NextConfig = { 'DEVICE_CODE': process.env.DEVICE_CODE, }, images: { + unoptimized: true, // <--- ADD THIS LINE remotePatterns: [ new URL('https://36.66.3.44/**'), new URL('https://his.nutech-integrasi.com/**'),