fix: add remote image pattern for next.config.mjs
All checks were successful
Build frontend / build (push) Successful in 55s
All checks were successful
Build frontend / build (push) Successful in 55s
This commit is contained in:
@ -2,6 +2,15 @@
|
|||||||
const nextConfig = {
|
const nextConfig = {
|
||||||
/* config options here */
|
/* config options here */
|
||||||
reactCompiler: true,
|
reactCompiler: true,
|
||||||
|
images: {
|
||||||
|
remotePatterns: [
|
||||||
|
{
|
||||||
|
protocol: 'http',
|
||||||
|
hostname: '45.93.137.91',
|
||||||
|
pathname: '/api/Pictures/**',
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
// basePath: "/sweetHome",
|
// basePath: "/sweetHome",
|
||||||
// assetPrefix: "/sweetHome/",
|
// assetPrefix: "/sweetHome/",
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user