asdass1 commited on
Commit
51ae27a
·
verified ·
1 Parent(s): 3fd0b50

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +1 -3
index.js CHANGED
@@ -89,9 +89,7 @@ app.get('*', async (req, res) => {
89
  },
90
  data: finish
91
  })
92
- res.send(JSON.stringify(upload_result.data))
93
- return
94
- if (upload_result.data.error.code == 200) {
95
  res.send(JSON.stringify({
96
  vid: upload_info.data.vid,
97
  url: `https://data.emmmm.eu.org/parse/zj/${upload_info.data.uri}`
 
89
  },
90
  data: finish
91
  })
92
+ if (upload_result.data.code == 2000) {
 
 
93
  res.send(JSON.stringify({
94
  vid: upload_info.data.vid,
95
  url: `https://data.emmmm.eu.org/parse/zj/${upload_info.data.uri}`