ec12f544 by jeff

jeff_fix_maxtoken

1 parent 864f97cc
Showing 1 changed file with 1 additions and 1 deletions
...@@ -38,7 +38,7 @@ app.post('/api', async (req, res) => { ...@@ -38,7 +38,7 @@ app.post('/api', async (req, res) => {
38 38
39 str_length = req.body.message.split(' ').length; 39 str_length = req.body.message.split(' ').length;
40 40
41 if (str_length>=1000){ 41 if (str_length>=800){
42 arr_body = req.body.message.split("\n"); 42 arr_body = req.body.message.split("\n");
43 if (arr_body.length>=4){ 43 if (arr_body.length>=4){
44 var i = arr_body.length-2 44 var i = arr_body.length-2
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!