Refactor code structure for improved readability and maintainability

This commit is contained in:
hamed
2026-07-06 09:35:17 +03:30
parent f6475d1a7d
commit a9fcfea12a
3 changed files with 34 additions and 25 deletions
+3 -20
View File
@@ -2,34 +2,17 @@
const nextConfig = {
// Add other configurations below
reactStrictMode: true,
// متادیتا (canonical/OG/keywords) باید داخل <head> رندر شود نه استریم در <body>.
// از Next 15.2 استریم متادیتا پیش‌فرض است؛ این regex همه‌ی UAها را blocking می‌کند.
htmlLimitedBots: /.*/,
images: {
remotePatterns: [
{
protocol: 'https',
hostname: 'api.clinic-pro.ir',
},
{
protocol: 'https',
hostname: 'clinicpro.liara.run',
},
{
protocol: 'http',
hostname: 'clinic-pro.ir',
},
{
protocol: 'https',
hostname: 'back-dev.clinic-pro.ir',
},
{
protocol: 'https',
hostname: 'clinic-pro-back.ddev.site',
},
{
protocol: 'https',
hostname: 'clinic-pro.ddev.site',
},
{
protocol: 'http',
hostname: 'clinic-pro.ddev.site',
},
],