Skip to content

Commit

Permalink
Fix #36
Browse files Browse the repository at this point in the history
  • Loading branch information
Jovert Lota Palonpon committed Apr 4, 2019
1 parent c14d52a commit 3051873
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions nginx.conf.example
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ server {
access_log /var/log/nginx/access.log;
root /var/www/html/public;
server_name example.com;
client_max_body_size 25M;

location ~ \.php$ {
try_files $uri =404;
Expand Down
4 changes: 2 additions & 2 deletions php.ini
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
upload_max_filesize=50M
post_max_size=50M
upload_max_filesize=25M
post_max_size=25M
2 changes: 1 addition & 1 deletion resources/js/views/__backoffice/users/Forms/Avatar.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ class Avatar extends Component {
<Dropzone
initialFiles={files}
maxFiles={1}
maxFileSize={5}
maxFileSize={25}
handleUpload={this.handleUpload}
handleFileRemoved={this.handleFileRemoved}
/>
Expand Down

0 comments on commit 3051873

Please sign in to comment.