mirror of
https://github.com/arfct/itty-bitty.git
synced 2026-03-11 08:54:33 +00:00
Update index.js
This commit is contained in:
parent
a921dcd854
commit
780ed8ea49
1 changed files with 1 additions and 1 deletions
|
|
@ -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(".")
|
||||
|
|
|
|||
Loading…
Reference in a new issue