refactor: 端口调整

This commit is contained in:
tbphp
2025-07-14 14:08:05 +08:00
parent a0b1223818
commit 2fdd963613
7 changed files with 8 additions and 8 deletions

View File

@@ -130,7 +130,7 @@ func (sm *SystemSettingsManager) EnsureSettingsInitialized() error {
}
port := os.Getenv("PORT")
if port == "" {
port = "3000"
port = "3001"
}
value = fmt.Sprintf("http://%s:%s", host, port)
}
@@ -172,7 +172,7 @@ func (sm *SystemSettingsManager) GetAppUrl() string {
}
port := os.Getenv("PORT")
if port == "" {
port = "3000"
port = "3001"
}
return fmt.Sprintf("http://%s:%s", host, port)
}