1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-03 17:46:39 -04:00

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

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

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',