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/**'),