Initial commit: Tapalka monorepo (bot, front, strapi)
This commit is contained in:
28
CMyTapper/robucks-front/next.config.mjs
Normal file
28
CMyTapper/robucks-front/next.config.mjs
Normal file
@@ -0,0 +1,28 @@
|
||||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = {
|
||||
images: {
|
||||
remotePatterns: [
|
||||
{
|
||||
hostname: 'strapi.rbx-click.ru'
|
||||
},
|
||||
{
|
||||
protocol: 'http',
|
||||
hostname: '127.0.0.1'
|
||||
},
|
||||
{
|
||||
protocol: 'http',
|
||||
hostname: 'localhost'
|
||||
}
|
||||
]
|
||||
},
|
||||
async rewrites() {
|
||||
return [
|
||||
{
|
||||
source: '/uploads/:path*',
|
||||
destination: 'http://127.0.0.1:1337/uploads/:path*',
|
||||
},
|
||||
];
|
||||
},
|
||||
};
|
||||
|
||||
export default nextConfig;
|
||||
Reference in New Issue
Block a user