-
- Téléchargements
Add cache for OEmbed endpoints to avoid extra HTTP requests (#12403)
* add youtube oembed endpoint * add check for oembed endpoint * change unless for a more readable if * clear blank lines * endpoint via https * Fix string literal in condition * use cache for endpoints * use cache for endpoints * clean up and adding check * clean up and remove redundant return * add html check * add false to return * use double quotes * use double quotes * Clean up
parent
5a2c0707
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Affichage de
- app/services/fetch_link_card_service.rb 16 ajouts, 7 suppressionsapp/services/fetch_link_card_service.rb
- app/services/fetch_oembed_service.rb 30 ajouts, 1 suppressionapp/services/fetch_oembed_service.rb
- spec/services/fetch_oembed_service_spec.rb 18 ajouts, 0 suppressionspec/services/fetch_oembed_service_spec.rb
Veuillez vous inscrire ou vous se connecter pour commenter