Skip to content

Commit a7c5a1d

Browse files
committed
change tone api
1 parent 98105e8 commit a7c5a1d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

api.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@ func HandleRequest(conn net.Conn) {
9696
fmt.Fprintf(conn, "400 Bad Request\r\n")
9797
return
9898
}
99-
// tone が 0 から 12 でない場合
100-
if tone < 0 || tone > 15 {
99+
// tone が 0 から 99 でない場合
100+
if tone < 0 || tone > 99 {
101101
fmt.Fprintf(conn, "HTTP/1.1 400 Bad Request\r\n")
102102
fmt.Fprintf(conn, "Content-Type: text/plain; charset=utf-8\r\n\r\n")
103103
fmt.Fprintf(conn, "400 Bad Request\r\n")

0 commit comments

Comments
 (0)