Commit 1013f260 authored by Matthew Taylor's avatar Matthew Taylor

Use `guess-mime-type` to get the right file type

should help with some header issues we’re seeing. Also remove `x-frame-options` meta tag, since it’s not acknolwedged by some browsers (like Chrome).
parent 77644aaf
......@@ -31,8 +31,8 @@ webpack:
$(WEBPACK) --bail
sync-s3:
$(S3CMD) sync -P --delete-removed --exclude '.DS_Store' --exclude '*.svg' ./build/ s3://$(S3_BUCKET_NAME)/
$(S3CMD) sync -P --delete-removed --exclude '*' --include '*.svg' --mime-type 'image/svg+xml' ./build/ s3://$(S3_BUCKET_NAME)/
$(S3CMD) sync -P --delete-removed --exclude '.DS_Store' --exclude '*.svg' --guess-mime-type ./build/ s3://$(S3_BUCKET_NAME)/
$(S3CMD) sync -P --delete-removed --exclude '*' --include '*.svg' --mime-type 'image/svg+xml' ./build/ s3://$(S3_BUCKET_NAME)/
sync-fastly:
$(NODE) ./bin/configure-fastly.js
......
......@@ -6,7 +6,6 @@
<meta charset="UTF-8" />
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta http-equiv="x-frame-options" content="deny">
<meta name="viewport" content="width={{viewportWidth}}, initial-scale=1">
<title>Scratch - {{title}}</title>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment