jokyone commited on
Commit
cbaaaf5
1 Parent(s): 8787e42

Update main.go

Browse files
Files changed (1) hide show
  1. main.go +2 -1
main.go CHANGED
@@ -156,9 +156,10 @@ func main() {
156
  http.HandleFunc("/GET", handleGET)
157
  http.HandleFunc("/CLS", handleCLS)
158
  http.HandleFunc("/HisU", handleHisU)
159
- http.HandleFunc("/", handleRoot)
160
  // 新增处理 /q 的路由
161
  http.HandleFunc("/q", handleQ)
 
 
162
 
163
  fmt.Printf("Server is running on port %s\n", port)
164
  http.ListenAndServe(port, nil)
 
156
  http.HandleFunc("/GET", handleGET)
157
  http.HandleFunc("/CLS", handleCLS)
158
  http.HandleFunc("/HisU", handleHisU)
 
159
  // 新增处理 /q 的路由
160
  http.HandleFunc("/q", handleQ)
161
+ http.HandleFunc("/", handleRoot)
162
+
163
 
164
  fmt.Printf("Server is running on port %s\n", port)
165
  http.ListenAndServe(port, nil)