liftie 4.3.0 → 4.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/routes/index.js
CHANGED
|
@@ -146,7 +146,7 @@ function api(req, res, next) {
|
|
|
146
146
|
}
|
|
147
147
|
// do not cache API responses
|
|
148
148
|
res.setHeader('Cache-Control', 'no-cache, max-age=0, must-revalidate');
|
|
149
|
-
res.setHeader('Content-Type', 'application/json');
|
|
149
|
+
res.setHeader('Content-Type', 'application/json;charset=UTF-8');
|
|
150
150
|
res.end(JSON.stringify(resorts[0]));
|
|
151
151
|
});
|
|
152
152
|
}
|
|
@@ -157,7 +157,7 @@ function meta(req, res, next) {
|
|
|
157
157
|
return next(err);
|
|
158
158
|
}
|
|
159
159
|
res.setHeader('Cache-Control', 'public, max-age=86400'); // good for 24hours
|
|
160
|
-
res.setHeader('Content-Type', 'application/json');
|
|
160
|
+
res.setHeader('Content-Type', 'application/json;charset==UTF-8');
|
|
161
161
|
res.end(JSON.stringify(resorts));
|
|
162
162
|
});
|
|
163
163
|
}
|
package/package.json
CHANGED
|
@@ -314,7 +314,7 @@ button {
|
|
|
314
314
|
|
|
315
315
|
body {
|
|
316
316
|
font-size: 1em;
|
|
317
|
-
font-family: sans-serif;
|
|
317
|
+
font-family: system-ui, sans-serif;
|
|
318
318
|
color: var(--color-text-body);
|
|
319
319
|
|
|
320
320
|
display: flex;
|
|
@@ -879,6 +879,10 @@ header {
|
|
|
879
879
|
justify-items: center;
|
|
880
880
|
align-items: start;
|
|
881
881
|
|
|
882
|
+
&.resorts {
|
|
883
|
+
display: grid-lanes;
|
|
884
|
+
}
|
|
885
|
+
|
|
882
886
|
&:has(> .tags),
|
|
883
887
|
&:has(> .about) {
|
|
884
888
|
grid-template-columns: 1fr;
|
|
@@ -314,7 +314,7 @@ button {
|
|
|
314
314
|
|
|
315
315
|
body {
|
|
316
316
|
font-size: 1em;
|
|
317
|
-
font-family: sans-serif;
|
|
317
|
+
font-family: system-ui, sans-serif;
|
|
318
318
|
color: var(--color-text-body);
|
|
319
319
|
|
|
320
320
|
display: flex;
|
|
@@ -879,6 +879,10 @@ header {
|
|
|
879
879
|
justify-items: center;
|
|
880
880
|
align-items: start;
|
|
881
881
|
|
|
882
|
+
&.resorts {
|
|
883
|
+
display: grid-lanes;
|
|
884
|
+
}
|
|
885
|
+
|
|
882
886
|
&:has(> .tags),
|
|
883
887
|
&:has(> .about) {
|
|
884
888
|
grid-template-columns: 1fr;
|
package/views/index.jade
CHANGED