mirror of
https://github.com/snowykami/neo-blog.git
synced 2025-09-03 15:56:22 +00:00
⚡️ feat: 更新后端URL环境变量为BACKEND_URL,以支持更灵活的配置
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
import axios from 'axios'
|
||||
import { camelToSnakeObj, snakeToCamelObj } from 'field-conv'
|
||||
|
||||
export const BACKEND_URL = process.env.NEXT_PUBLIC_API_BASE_URL || 'http://neo-blog-backend:8888'
|
||||
export const BACKEND_URL = process.env.BACKEND_URL || 'http://neo-blog-backend:8888'
|
||||
|
||||
const isServer = typeof window === 'undefined'
|
||||
|
||||
|
Reference in New Issue
Block a user