This commit is contained in:
jeremygan2021
2026-02-12 16:16:09 +08:00
parent 4ac8767659
commit 70c8608110
4 changed files with 6 additions and 6 deletions

View File

@@ -98,7 +98,7 @@ DATABASES = {
}
# 从环境变量获取数据库配置 (Docker 环境会自动注入这些变量)
DB_HOST = os.environ.get('DB_HOST')
DB_HOST = os.environ.get('DB_HOST', '6.6.6.66')
if DB_HOST:
DATABASES['default'] = {
'ENGINE': 'django.db.backends.postgresql',

Binary file not shown.

View File

@@ -57,6 +57,11 @@ const Layout = ({ children }) => {
icon: <RobotOutlined />,
label: 'AI 硬件',
},
{
key: '/forum',
icon: <TeamOutlined />,
label: '技术论坛',
},
{
key: '/services',
icon: <AppstoreOutlined />,
@@ -67,11 +72,6 @@ const Layout = ({ children }) => {
icon: <EyeOutlined />,
label: 'VC 课程',
},
{
key: '/forum',
icon: <TeamOutlined />,
label: '技术论坛',
},
{
key: '/my-orders',
icon: <SearchOutlined />,