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

Commit

Permalink
chore(upload-assets-to-s3): upload svg files
Browse files Browse the repository at this point in the history
  • Loading branch information
antonsamper committed Aug 26, 2020
1 parent 7b66bd8 commit c1f6305
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 c1f6305

Please sign in to comment.