Skip to content
This repository has been archived by the owner on Mar 22, 2024. It is now read-only.

Commit

Permalink
Merge pull request #607 from Financial-Times/CPP-230-svg
Browse files Browse the repository at this point in the history
chore(upload-assets-to-s3): upload svg files
  • Loading branch information
antonsamper authored Aug 26, 2020
2 parents 7b66bd8 + c1f6305 commit d94bcd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/upload-assets-to-s3.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const aws = require('aws-sdk');
const defaultDirectory = 'public';
const defaultBucket = 'ft-next-hashed-assets-prod';
const defaultDestination = 'hashed-assets/uploaded';
const defaultFileExtensions = ['js', 'css', 'map', 'gz', 'br', 'png', 'jpg', 'jpeg', 'gif', 'webp'].join();
const defaultFileExtensions = ['js', 'css', 'map', 'gz', 'br', 'png', 'jpg', 'jpeg', 'gif', 'webp', 'svg'].join();
const defaultCacheControl = 'public, max-age=31536000, stale-while-revalidate=60, stale-if-error=3600';

function getFileType (filename) {
Expand Down

0 comments on commit d94bcd9

Please sign in to comment.