fix: set default backendBaseUrl in next.config.ts and remove .env.development from .gitignore
This commit is contained in:
+1
-1
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user