feat: docker stuff

This commit is contained in:
2025-03-23 22:01:13 +01:00
parent 41c50a8ee5
commit 441aa64166
9 changed files with 95 additions and 7 deletions

View File

@@ -29,7 +29,7 @@ const nextConfig = {
return [
{
source: '/api/stream/chat/:path*',
destination: `http://localhost:8000/:path*`,
destination: `http://${process.env.NODE_ENV === 'production' ? 'chat' : 'localhost'}:8000/:path*`,
},
];
}