Files
hats-app/next.config.ts
T
Ichsan Kurniawan 09ad78ed03 update opengraph
2026-02-09 16:22:14 +07:00

30 lines
1.0 KiB
TypeScript

import type { NextConfig } from "next";
const nextConfig: NextConfig = {
/* config options here */
basePath: process.env.BASE_PATH ?? '',
env: {
'BASE_PATH': process.env.BASE_PATH ?? '',
'BASE_URL_API': process.env.BASE_URL_API,
'BASE_URL_IMG': process.env.BASE_URL_IMG,
'FIREBASE_API_KEY': process.env.FIREBASE_API_KEY,
'FIREBASE_APP_ID': process.env.FIREBASE_APP_ID,
'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/**'),
new URL('https://hats.hisnutech.my.id/**'),
new URL('https://api-hats.hisnutech.my.id/**'),
{ protocol: 'https', hostname: 'avatars.githubusercontent.com', pathname: '/u/**/*' },
{ protocol: 'https', hostname: 'lh3.googleusercontent.com', pathname: '/a/**/*' }
],
qualities: [50, 65, 70, 75, 80, 85, 90, 100],
},
reactStrictMode: false
};
export default nextConfig;