26 lines
660 B
JavaScript
26 lines
660 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
// output: "export",
|
|
output: "standalone",
|
|
|
|
// reactStrictMode: true,
|
|
|
|
// Optional: Change links `/me` -> `/me/` and emit `/me.html` -> `/me/index.html`
|
|
// trailingSlash: true,
|
|
|
|
// Optional: Prevent automatic `/me` -> `/me/`, instead preserve `href`
|
|
// skipTrailingSlashRedirect: true,
|
|
|
|
// Optional: Change the output directory `out` -> `dist`
|
|
// distDir: 'dist',
|
|
env: {
|
|
API_URL: process.env.API_URL,
|
|
// اضافه کردن سایر متغیرهای محیطی احتمالی در اینجا
|
|
},
|
|
images: {
|
|
unoptimized: true,
|
|
},
|
|
};
|
|
|
|
module.exports = nextConfig;
|