Skip to content

Commit 98d204b

Browse files
committed
fix: jsonl content type header
1 parent e9ab2de commit 98d204b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

justfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ STABLE_TOOLCHAIN := "1.87.0"
8181
@deploy bucket:
8282
@echo "Deploying to {{bucket}}..."
8383
gcloud storage rsync --recursive --delete-unmatched-destination-objects site/ {{bucket}}/
84-
# Set content type for .jsonl file (non-standard extension).
85-
gcloud storage objects update {{bucket}}/census.jsonl --content-type="application/x-ndjson" 2>/dev/null || true
84+
# Set content type for .jsonl file to prevent Safari from renaming it.
85+
gcloud storage objects update {{bucket}}/census.jsonl --content-type="application/jsonl" 2>/dev/null || true
8686
# Set cache policies based on file type to bust cache appropriately
8787
@echo "Setting cache-control headers..."
8888
# Short cache for data and HTML files (5 minutes - updates only happen a few times per week)

site/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@
148148
.footer-data {
149149
display: flex;
150150
flex-direction: column;
151+
gap: 0.25rem;
151152
}
152153

153154
.footer a {

0 commit comments

Comments
 (0)