Update index.js
Browse files
index.js
CHANGED
|
@@ -80,7 +80,7 @@ function generateUniqueFilename() {
|
|
| 80 |
return `video_${timestamp}_${randomStr}.mp4`;
|
| 81 |
}
|
| 82 |
|
| 83 |
-
app.get('/
|
| 84 |
const { url } = req.query;
|
| 85 |
|
| 86 |
if (!url) {
|
|
|
|
| 80 |
return `video_${timestamp}_${randomStr}.mp4`;
|
| 81 |
}
|
| 82 |
|
| 83 |
+
app.get('/douyin', async (req, res) => {
|
| 84 |
const { url } = req.query;
|
| 85 |
|
| 86 |
if (!url) {
|