21 lines
509 B
TypeScript
21 lines
509 B
TypeScript
import { dirname } from 'node:path';
|
|
import { fileURLToPath } from 'node:url';
|
|
import type { NextConfig } from 'next';
|
|
|
|
const frontendRoot = dirname(fileURLToPath(import.meta.url));
|
|
|
|
const nextConfig: NextConfig = {
|
|
allowedDevOrigins: ['192.168.18.93', 'localhost', '127.0.0.1', 'shop-mv.rikrdo.com'],
|
|
turbopack: {
|
|
root: frontendRoot,
|
|
},
|
|
outputFileTracingRoot: frontendRoot,
|
|
images: {
|
|
remotePatterns: [
|
|
{ protocol: 'https', hostname: '**' },
|
|
],
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|