mirror of
https://github.com/ichsankurnia/hats-app.git
synced 2026-12-05 10:56:28 +00:00
28 lines
920 B
TypeScript
28 lines
920 B
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/**'),
|
|
{ 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;
|