添加CORS允许跨源访问

This commit is contained in:
堇羽
2024-04-17 07:14:23 +00:00
parent 5562a3251d
commit 2c24e234c8
3 changed files with 34 additions and 9 deletions

View File

@@ -15,6 +15,7 @@
"license": "ISC",
"dependencies": {
"compressing": "^1.10.0",
"cors": "^2.8.5",
"express": "^4.18.2",
"file-type": "^19.0.0",
"fluent-ffmpeg": "^2.1.2",