mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-27 01:25:52 -05:00
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).
This commit is contained in:
parent
77644aafb2
commit
1013f260b9
2 changed files with 2 additions and 3 deletions
4
Makefile
4
Makefile
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue