add content-type and access-control headers to hit function response

This commit is contained in:
2021-05-30 19:30:06 -04:00
parent 03bc26a004
commit 37807e008b
6 changed files with 22 additions and 14 deletions
+1
View File
@@ -3,6 +3,7 @@
var wrapper = document.getElementById("meta-hits");
if (wrapper) {
// javascript is enabled so show the loading indicator
wrapper.style.display = "inline-block";
// deduce a consistent identifier for this page, no matter the URL
+1 -1
View File
@@ -12,7 +12,7 @@
/////////////////////////
// default assets url, by default will be Twitter Inc. CDN
base: '{{ "vendor/emoji/" | absURL }}',
base: '/vendor/emoji/',
// default assets file extensions, by default '.png'
ext: '.svg',
+2 -1
View File
@@ -19,7 +19,8 @@ div.layout-single {
color: inherit;
}
> span {
> div {
display: inline-block;
margin-right: 1.25em;
white-space: nowrap;