Skip to content

Commit

Permalink
Allow json files to be uploaded (#1337)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsamojlenko authored Jul 20, 2023
1 parent 6409388 commit 402ff62
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions wordpress/wp-content/themes/cds-default/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,7 @@ function maintenance_mode($original_template)

function cc_mime_types($mimes)
{
$mimes['json'] = 'application/json';
$mimes['svg'] = 'image/svg+xml';
return $mimes;
}
Expand Down

0 comments on commit 402ff62

Please sign in to comment.