File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
game/application/controllers
page/application/controllers Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ export class GameController {
115115 validators : [
116116 // jpeg와 png, gif 허용
117117 new FileTypeValidator ( {
118- fileType : / j p e g | p n g | g i f | w e b p | j p g / ,
118+ fileType : / j p e g | p n g | g i f | w e b p | j p g | i m a g e \/ * / ,
119119 } ) ,
120120 new MaxFileSizeValidator ( {
121121 maxSize : 3 * 1024 * 1024 ,
Original file line number Diff line number Diff line change @@ -161,7 +161,7 @@ export class PageController {
161161 validators : [
162162 // jpeg와 png, gif 허용
163163 new FileTypeValidator ( {
164- fileType : / j p e g | p n g | g i f | w e b p | j p g / ,
164+ fileType : / j p e g | p n g | g i f | w e b p | j p g | i m a g e \/ * / ,
165165 } ) ,
166166 new MaxFileSizeValidator ( {
167167 maxSize : 7 * 1024 * 1024 ,
Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ export class UserController {
135135 @UploadedFile (
136136 new ParseFilePipe ( {
137137 validators : [
138- new FileTypeValidator ( { fileType : / j p e g | p n g | g i f | w e b p | j p g / } ) ,
138+ new FileTypeValidator ( { fileType : / j p e g | p n g | g i f | w e b p | j p g | i m a g e \/ * / } ) ,
139139 ] ,
140140 fileIsRequired : false ,
141141 } ) ,
You can’t perform that action at this time.
0 commit comments