refactor(images): replace raw img tags with next/image in SafeImage, VetGallery, and VideosPage [TASK-107]
This commit is contained in:
1 parent
01f4a7cf57
commit
0f32ec62c1
6 files changed
+34
-16
No files matched your search
@@ -1,6 +1,19 @@
|
||||
import type { NextConfig } from "next";
|
||||
|
||||
const nextConfig: NextConfig = {
|
||||
images: {
|
||||
unoptimized: true,
|
||||
remotePatterns: [
|
||||
{
|
||||
protocol: 'https',
|
||||
hostname: '**',
|
||||
},
|
||||
{
|
||||
protocol: 'http',
|
||||
hostname: '**',
|
||||
},
|
||||
],
|
||||
},
|
||||
async rewrites() {
|
||||
return [
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user