AXCWG 2 months ago
parent
commit
81b35dee6f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      main.js

+ 1 - 1
main.js

@@ -468,7 +468,7 @@ app.post('/search_api', async function (req, res) {
 
                     res.header("Access-Control-Allow-Origin", "*");
 
-                    res.end(JSON.stringify(prepare));
+                    res.json(prepare);
 
 
                 } catch (e) {