Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add configuration option to allow more file types in the media directory #105

Conversation

caendesilva
Copy link
Member

Added configuration option hyde.media_extensions to allow you to specify additional comma separated media file types. Fixes #39;

config('hyde.media_extensions', 'png,svg,jpg,jpeg,gif,ico,css,js'))

@caendesilva caendesilva marked this pull request as ready for review June 24, 2022 18:26
@codecov
Copy link

codecov bot commented Jun 24, 2022

Codecov Report

Merging #105 (10baa29) into master (9161696) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##             master     #105   +/-   ##
=========================================
  Coverage     99.01%   99.01%           
  Complexity      742      742           
=========================================
  Files            95       95           
  Lines          1928     1929    +1     
=========================================
+ Hits           1909     1910    +1     
  Misses           19       19           
Impacted Files Coverage Δ
...kages/framework/src/Services/CollectionService.php 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9161696...10baa29. Read the comment docs.

@caendesilva caendesilva merged commit 0a5cabf into master Jun 24, 2022
@caendesilva caendesilva deleted the 39-add-configuration-option-to-allow-more-file-types-in-the-_media-directory branch June 24, 2022 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add configuration option to allow more file types in the _media directory
2 participants