Spaces:
Running
Running
Update api/chat.go
Browse files- api/chat.go +1 -1
api/chat.go
CHANGED
@@ -339,7 +339,7 @@ func getCurrentTimestamp() int64 {
|
|
339 |
}
|
340 |
|
341 |
func main() {
|
342 |
-
port := getEnvOrDefault("PORT", "
|
343 |
http.HandleFunc("/", Handler)
|
344 |
fmt.Printf("Server starting on port %s...\n", port)
|
345 |
if err := http.ListenAndServe(":"+port, nil); err != nil {
|
|
|
339 |
}
|
340 |
|
341 |
func main() {
|
342 |
+
port := getEnvOrDefault("PORT", "7860")
|
343 |
http.HandleFunc("/", Handler)
|
344 |
fmt.Printf("Server starting on port %s...\n", port)
|
345 |
if err := http.ListenAndServe(":"+port, nil); err != nil {
|