️ feat: 更新 Docker 配置,优化前端环境变量设置并添加部署工作流

This commit is contained in:
2025-07-25 04:13:56 +08:00
parent 5fac42439a
commit f1e5959440
4 changed files with 5 additions and 4 deletions

View File

@ -19,7 +19,7 @@ const nextConfig: NextConfig = {
],
},
async rewrites() {
const backendUrl = (process.env.NEXT_PUBLIC_API_BASE_URL || "http://localhost:8888")
const backendUrl = (process.env.NEXT_PUBLIC_API_BASE_URL || "http://neo-blog-backend:8888")
console.log("Using development API base URL:", backendUrl);
return [
{