diff --git a/backend/config/__pycache__/settings.cpython-312.pyc b/backend/config/__pycache__/settings.cpython-312.pyc
index 4e7cabc..78df966 100644
Binary files a/backend/config/__pycache__/settings.cpython-312.pyc and b/backend/config/__pycache__/settings.cpython-312.pyc differ
diff --git a/backend/config/settings.py b/backend/config/settings.py
index 462ad94..65fbf32 100644
--- a/backend/config/settings.py
+++ b/backend/config/settings.py
@@ -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',
diff --git a/backend/db.sqlite3 b/backend/db.sqlite3
index 6935497..e69de29 100644
Binary files a/backend/db.sqlite3 and b/backend/db.sqlite3 differ
diff --git a/frontend/src/components/Layout.jsx b/frontend/src/components/Layout.jsx
index 35db2c3..97b75dd 100644
--- a/frontend/src/components/Layout.jsx
+++ b/frontend/src/components/Layout.jsx
@@ -57,6 +57,11 @@ const Layout = ({ children }) => {
icon: ,
label: 'AI 硬件',
},
+ {
+ key: '/forum',
+ icon: ,
+ label: '技术论坛',
+ },
{
key: '/services',
icon: ,
@@ -67,11 +72,6 @@ const Layout = ({ children }) => {
icon: ,
label: 'VC 课程',
},
- {
- key: '/forum',
- icon: ,
- label: '技术论坛',
- },
{
key: '/my-orders',
icon: ,