17 lines
343 B
TypeScript
17 lines
343 B
TypeScript
import type { NextConfig } from "next";
|
|
|
|
const nextConfig: NextConfig = {
|
|
output: 'standalone',
|
|
allowedDevOrigins: ['192.168.2.220', 'localhost:3000'],
|
|
async rewrites() {
|
|
return [
|
|
{
|
|
source: '/thumbnails/:filename*',
|
|
destination: '/api/thumbnails/:filename*',
|
|
},
|
|
];
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|