Update index.js

This commit is contained in:
Nicholas Jitkoff 2022-01-16 14:01:24 -08:00
parent a921dcd854
commit 780ed8ea49

View file

@ -54,7 +54,7 @@ window.onhashchange = window.onload = function() {
let match = hash.match(dataRE);
let type = match?.groups.type;
if (validTypes.includes(type)) {
preamble = btoa(`<script src="http://127.0.0.1:5000/render/recipe.js"></script> `);
preamble = btoa(`<script src="https://gitty.bitty.site/render/recipe.js"></script> `);
} else {
console.log("unknown type, rendering as download")
let extension = title.split(".")