diff --git a/hohoho.svg b/hohoho.svg new file mode 100644 index 0000000..3c62ae1 --- /dev/null +++ b/hohoho.svg @@ -0,0 +1,63 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/index.html b/index.html index 861226a..d023c1a 100644 --- a/index.html +++ b/index.html @@ -9,6 +9,14 @@ + @@ -57,6 +65,7 @@

All details regarding HoHoHo! can be found in the corresponding paper.

Third-party code

The API used by this website is made possible thanks to the great work by Andreas Gohr, whose repository can be found on GitHub.

+ Hohoho! diff --git a/js/main.js b/js/main.js index e5b79c6..c728a57 100644 --- a/js/main.js +++ b/js/main.js @@ -79,7 +79,7 @@ function interpret() { 'Content-Type': 'application/x-www-form-urlencoded' } } - fetch('https://dev.jakobsenkl.pw/hohoho/api.php', options) + fetch('/api/api.php', options) .then(res => res.text()) .then(res => (document.getElementById("text_code").value = res)) .catch(err => console.error(err)); @@ -93,7 +93,7 @@ function tobf() { 'Content-Type': 'application/x-www-form-urlencoded' } } - let promise = fetch('https://dev.jakobsenkl.pw/hohoho/api.php', options) + let promise = fetch('/api/api.php', options) .then(res => res.text()) .then(res => (document.getElementById("brainfuck_code").value = res)) .catch(err => console.error(err));