forum
This commit is contained in:
Binary file not shown.
@@ -98,7 +98,7 @@ DATABASES = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# 从环境变量获取数据库配置 (Docker 环境会自动注入这些变量)
|
# 从环境变量获取数据库配置 (Docker 环境会自动注入这些变量)
|
||||||
DB_HOST = os.environ.get('DB_HOST')
|
DB_HOST = os.environ.get('DB_HOST', '6.6.6.66')
|
||||||
if DB_HOST:
|
if DB_HOST:
|
||||||
DATABASES['default'] = {
|
DATABASES['default'] = {
|
||||||
'ENGINE': 'django.db.backends.postgresql',
|
'ENGINE': 'django.db.backends.postgresql',
|
||||||
|
|||||||
Binary file not shown.
@@ -57,6 +57,11 @@ const Layout = ({ children }) => {
|
|||||||
icon: <RobotOutlined />,
|
icon: <RobotOutlined />,
|
||||||
label: 'AI 硬件',
|
label: 'AI 硬件',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
key: '/forum',
|
||||||
|
icon: <TeamOutlined />,
|
||||||
|
label: '技术论坛',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
key: '/services',
|
key: '/services',
|
||||||
icon: <AppstoreOutlined />,
|
icon: <AppstoreOutlined />,
|
||||||
@@ -67,11 +72,6 @@ const Layout = ({ children }) => {
|
|||||||
icon: <EyeOutlined />,
|
icon: <EyeOutlined />,
|
||||||
label: 'VC 课程',
|
label: 'VC 课程',
|
||||||
},
|
},
|
||||||
{
|
|
||||||
key: '/forum',
|
|
||||||
icon: <TeamOutlined />,
|
|
||||||
label: '技术论坛',
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
key: '/my-orders',
|
key: '/my-orders',
|
||||||
icon: <SearchOutlined />,
|
icon: <SearchOutlined />,
|
||||||
|
|||||||
Reference in New Issue
Block a user