Update index.js
Browse files
index.js
CHANGED
|
@@ -89,9 +89,7 @@ app.get('*', async (req, res) => {
|
|
| 89 |
},
|
| 90 |
data: finish
|
| 91 |
})
|
| 92 |
-
|
| 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}`
|