File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
server/StrDss.Api/Controllers Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ sed -i "s~__SSO_HOST__~$SSO_HOST~g" "$target"
9
9
sed -i " s~__ENV_NAME__~$ENV_NAME ~g" " $target "
10
10
sed -i " s~__SM_LOGOFF_URL__~$SM_LOGOFF_URL ~g" " $target "
11
11
sed -i " s~__RENTAL_LISTING_REPORT_MAX_SIZE__~$RENTAL_LISTING_REPORT_MAX_SIZE ~g" " $target "
12
+ sed -i " s~__BUISINESS_LICENCE_MAX_SIZE__~$BUISINESS_LICENCE_MAX_SIZE ~g" " $target "
12
13
sed -i " s~__ADDRESS_SCORE__~$ADDRESS_SCORE ~g" " $target "
13
14
14
15
cat > /nginx/nginx.conf << EOL
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ public async Task<ActionResult> UploadBizLicences([FromForm] PlatformDataUploadD
37
37
return ValidationUtils . GetValidationErrorResult ( errors , ControllerContext ) ;
38
38
}
39
39
40
- var maxSizeInMb = _config . GetValue < int > ( "RENTAL_LISTING_REPORT_MAX_SIZE " ) ;
40
+ var maxSizeInMb = _config . GetValue < int > ( "BUISINESS_LICENCE_MAX_SIZE " ) ;
41
41
var maxSizeInB = ( maxSizeInMb == 0 ? 2 : maxSizeInMb ) * 1024 * 1024 ;
42
42
43
43
if ( dto . File . Length > maxSizeInB )
You can’t perform that action at this time.
0 commit comments