init commit

This commit is contained in:
2025-05-06 20:44:33 +09:00
commit 91f0d54563
5567 changed files with 948185 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
// next.config.js
/** @type {import('next').NextConfig} */
const nextConfig = {
// Разрешённые origin для дев-сборки
allowedDevOrigins: [
'http://localhost:3001',
'http://192.168.219.114:3001',
'http://0.0.0.0:3001',
'http://localhost:3000',
'http://192.168.219.114:3000',
],
// Проксирование запросов /api/* на ваш Django-бэкенд
async rewrites() {
return [
{
source: '/api/:path*',
destination: 'http://127.0.0.1:8000/api/:path*'
}
];
},
};
module.exports = nextConfig;