Skip to content

Commit

Permalink
updating plume file version
Browse files Browse the repository at this point in the history
  • Loading branch information
lucas-amiaud committed Dec 14, 2023
1 parent 0bd33e9 commit a9f0f60
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<maven.compiler.target>17</maven.compiler.target>

<plume-dependencies.version>4.3.4</plume-dependencies.version>
<plume-file.version>3.0.1</plume-file.version>
<plume-file.version>3.1.0</plume-file.version>
</properties>

<build>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ public Response uploadPicture(
.fileNameAllowEmpty()
.fileNameMaxLength(255)
.fileImage()
.keepOriginalFileName()
.finish();
return Response.ok(
this.fileUploadWebJerseyService.add(
Expand Down Expand Up @@ -97,6 +98,7 @@ public Response uploadExcelFile(
// "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
// "application/vnd.ms-excel"
//))
.sanitizeFileName()
.finish();
return Response.ok(
this.fileUploadWebJerseyService.add(
Expand Down
2 changes: 0 additions & 2 deletions src/main/resources/application.conf
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,3 @@ db.hikari.minimumIdle=1
db.hikari.maximumPoolSize=4
db.hikari.leakDetectionThreshold=30000
db.hikari.idleTimeout=20000

file.keep-original-name-on-download="true"

0 comments on commit a9f0f60

Please sign in to comment.