Refactor code structure for improved readability and maintainability
This commit is contained in:
+3
-20
@@ -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',
|
||||
},
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user