修复 左侧文件夹计数和添加素材库大小统计
This commit is contained in:
1 parent
de15191f33
commit
1d206fe179
6 files changed
+71
-15
No files matched your search
@@ -56,7 +56,7 @@ function App() {
|
||||
useEffect(() => {
|
||||
// Setup Socket.IO - 开发模式连接后端端口,生产模式使用同源
|
||||
const socketUrl = import.meta.env.DEV
|
||||
? 'http://localhost:3000' // 开发模式:后端端口
|
||||
? 'http://localhost:15002' // 开发模式:后端端口
|
||||
: window.location.origin; // 生产模式:同源
|
||||
|
||||
console.log('🔌 Connecting to Socket.IO:', socketUrl);
|
||||
|
||||
Reference in new issue
Block a user