forum
This commit is contained in:
Binary file not shown.
@@ -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.
@@ -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 />,
|
||||
|
||||
Reference in New Issue
Block a user