feat: support upload image
Showing
app/api/file-upload/route.ts
0 → 100644
| ... | ... | @@ -12,6 +12,7 @@ |
| "prepare": "husky install ./.husky" | ||
| }, | ||
| "dependencies": { | ||
| "@floating-ui/react": "^0.26.2", | ||
| "@formatjs/intl-localematcher": "^0.2.32", | ||
| "@headlessui/react": "^1.7.13", | ||
| "@heroicons/react": "^2.0.16", | ||
| ... | ... | @@ -26,7 +27,7 @@ |
| "axios": "^1.3.5", | ||
| "classnames": "^2.3.2", | ||
| "copy-to-clipboard": "^3.3.3", | ||
| "dify-client": "2.0.0", | ||
| "dify-client": "^2.1.0", | ||
| "eslint": "8.36.0", | ||
| "eslint-config-next": "13.4.0", | ||
| "eventsource-parser": "^1.0.0", | ||
| ... | ... | @@ -38,6 +39,7 @@ |
| "katex": "^0.16.7", | ||
| "negotiator": "^0.6.3", | ||
| "next": "13.4.0", | ||
| "rc-textarea": "^1.5.3", | ||
| "react": "18.2.0", | ||
| "react-dom": "18.2.0", | ||
| "react-error-boundary": "^4.0.2", | ||
| ... | ... |
Please register or sign in to comment