fix: set default backendBaseUrl in next.config.ts and remove .env.development from .gitignore

This commit is contained in:
mlogclub
2026-04-14 13:48:10 +08:00
parent 794a38b5cb
commit 9cda0ff20a
4 changed files with 2 additions and 4 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ import type { NextConfig } from "next"
import { PHASE_DEVELOPMENT_SERVER } from "next/constants"
const backendBaseUrl =
process.env.NEXT_PUBLIC_API_BASE_URL?.trim() || ""
process.env.NEXT_PUBLIC_API_BASE_URL?.trim() || "http://127.0.0.1:8083"
export default function nextConfig(phase: string): NextConfig {
const config: NextConfig = {