mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-23 15:47:53 -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
2
Makefile
2
Makefile
|
@ -31,7 +31,7 @@ webpack:
|
||||||
$(WEBPACK) --bail
|
$(WEBPACK) --bail
|
||||||
|
|
||||||
sync-s3:
|
sync-s3:
|
||||||
$(S3CMD) sync -P --delete-removed --exclude '.DS_Store' --exclude '*.svg' ./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)/
|
$(S3CMD) sync -P --delete-removed --exclude '*' --include '*.svg' --mime-type 'image/svg+xml' ./build/ s3://$(S3_BUCKET_NAME)/
|
||||||
|
|
||||||
sync-fastly:
|
sync-fastly:
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
|
|
||||||
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
<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">
|
<meta name="viewport" content="width={{viewportWidth}}, initial-scale=1">
|
||||||
|
|
||||||
<title>Scratch - {{title}}</title>
|
<title>Scratch - {{title}}</title>
|
||||||
|
|
Loading…
Reference in a new issue