mirror of
https://github.com/detleph/server.git
synced 2026-09-04 08:36:06 +02:00
Add controller and routes to upload images
+ Checks for valid image formats + Limits file size + Requires authentication + Disabled for now
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
"dependencies": {
|
||||
"@prisma/client": "^3.3.0",
|
||||
"@types/handlebars": "^4.1.0",
|
||||
"@types/express-fileupload": "^1.2.1",
|
||||
"@types/jsonwebtoken": "^8.5.5",
|
||||
"@types/mjml": "^4.7.0",
|
||||
"@types/node": "^16.10.3",
|
||||
@@ -31,6 +32,9 @@
|
||||
"express": "^4.17.1",
|
||||
"handlebars": "^4.7.7",
|
||||
"express-async-errors": "^3.1.1",
|
||||
"express-fileupload": "^1.2.1",
|
||||
"file-type": "^16.5.3",
|
||||
"is-svg": "^4.3.2",
|
||||
"jsonwebtoken": "^8.5.1",
|
||||
"mjml": "^4.11.0",
|
||||
"nanoid": "^3.3.3",
|
||||
|
||||
Reference in New Issue
Block a user